setAttr.rootElement setattr-rootelement

属性を FXG ルート要素に設定します。

setAttr.rootElement={ *attributeName*= *attributeValue*%26 *attributeName*= *attributeValue*}

このコマンドは、ルート要素の属性を操作できます。

section-2758a6e316c34b99b13b02147e5973bb

次のルート要素がある場合:

<Graphic version="1.0" viewHeight="692" viewWidth="792" s7:appVersion="1.0.0.11" ai:appVersion="14.0.0.367" d:id="1" xmlns="http://ns.adobe.com/fxg/2008" xmlns:ai="http://ns.adobe.com/ai/2008" xmlns:d="http://ns.adobe.com/fxg/2008/dt" xmlns:s7="http://ns.adobe.com/S7FXG/2008">

次のコマンドを適用した後:

setAttr.rootElement={viewHeight=300%26viewWidth=200}

これで、ルート要素が次のように変更されました。

<Graphic xmlns="http://ns.adobe.com/fxg/2008" xmlns:ai="http://ns.adobe.com/ai/2008" xmlns:d="http://ns.adobe.com/fxg/2008/dt" xmlns:s7="http://ns.adobe.com/S7FXG/2008" ai:appVersion="14.0.0.367" d:id="1" s7:appVersion="1.0.0.11" version="1.0" viewHeight="300" viewWidth="200">

recommendation-more-help
a26166cd-f2f4-45ce-996d-96a0f0d6cf49