データ管理機能 > 部品構造の管理 > Windchill のオプションとバリエーションの機能 > オプションとバリエーションのデータの管理 - リファレンス > オプションとバリエーションのデータのロード > 「有効」規則
  
「有効」規則
Windchill ローダーを使用して、com.ptc.windchill.option.model.ChoiceEnable オブジェクトを Windchill データベースに読み込みます。
XML フォーマット:
<!ELEMENT csvBeginChoiceEnable (csvsourceChoiceName,csvnumber?,csvversion?, csviteration?,csvdescription?,csvlocal?,csvoptionSet?,csvcontainerPath?,csvlifecycletemplate?,csvlifecyclestate?,csvteamTemplate?)>
<!ELEMENT csvChoiceEnableTargetChoice (csvtargetChoiceName,csvcontainerPath?)>
<csvBeginChoiceEnable handler="com.ptc.windchill.option.load.Loader.beginChoiceEnable"><csvsourceChoiceName>D0005</csvsourceChoiceName>
<csvlocal>true</csvlocal>
<csvoptionSet>Bicycle Option Set Template</csvoptionSet>
<csvcontainerPath />
<csvmerged>true</csvmerged>
</csvBeginChoiceEnable>
<csvChoiceEnableTargetChoice handler="com.ptc.windchill.option.load.Loader.createChoiceEnableTargetChoice">
<csvtargetChoiceName>D0022</csvtargetChoiceName>
<csvcontainerPath />
</csvChoiceEnableTargetChoice>
<csvChoiceEnableTargetChoice handler="com.ptc.windchill.option.load.Loader.createChoiceEnableTargetChoice">
<csvtargetChoiceName>D0025</csvtargetChoiceName>
<csvcontainerPath />
</csvChoiceEnableTargetChoice>
<csvEndChoiceEnable handler="com.ptc.windchill.option.load.Loader.endChoiceEnable" />
csvBeginChoiceEnable の属性
属性
説明
必須またはオプション
csvsourceChoiceName
ソースの選択肢名
必須
csvnumber
規則の番号
オプション
csvversion
規則のバージョン
オプション
csviteration
規則の作業版数
オプション
csvdescription
規則の説明
オプション
csvlocal
規則がローカルかどうかを指定します。
オプション
csvoptionSet
規則が作成されたオプションセットを指定します。
オプション
csvcontainerPath
ソースが配置されているコンテキストへのパス
オプション
csvlifecycletemplate
ライフサイクルテンプレート
オプション
csvlifecyclestate
ライフサイクル状態
オプション
csvteamTemplate
チームテンプレート
オプション
csvmerged
規則をマージするかどうかを指定します。
オプション
csvChoiceEnableTargetChoice の属性
属性
説明
必須またはオプション
csvtargetChoiceName
ターゲットの選択肢名
必須
csvcontainerPath
ターゲットの選択肢が配置されているコンテキストへのパス
オプション
例:
<csvBeginChoiceEnable handler="com.ptc.windchill.option.load.Loader.beginChoiceEnable">
<csvsourceChoiceName>D0001</csvsourceChoiceName>
<csvlocal>true</csvlocal>
<csvoptionSet>Bicycle1 Option Set Template</csvoptionSet>
<csvcontainerPath />
<csvmerged>true</csvmerged>
</csvBeginChoiceEnable>
<csvChoiceEnableTargetChoice handler="com.ptc.windchill.option.load.Loader.createChoiceEnableTargetChoice">
<csvtargetChoiceName>D0026</csvtargetChoiceName>
<csvcontainerPath />
</csvChoiceEnableTargetChoice>
<csvChoiceEnableTargetChoice handler="com.ptc.windchill.option.load.Loader.createChoiceEnableTargetChoice">
<csvtargetChoiceName>D0012</csvtargetChoiceName>
<csvcontainerPath />
</csvChoiceEnableTargetChoice>
<csvChoiceEnableTargetChoice handler="com.ptc.windchill.option.load.Loader.createChoiceEnableTargetChoice">
<csvtargetChoiceName>D0013</csvtargetChoiceName>
<csvcontainerPath />
</csvChoiceEnableTargetChoice>
<csvChoiceEnableTargetChoice handler="com.ptc.windchill.option.load.Loader.createChoiceEnableTargetChoice">
<csvtargetChoiceName>D0010</csvtargetChoiceName>
<csvChoiceEnableTargetChoice handler="com.ptc.windchill.option.load.Loader.createChoiceEnableTargetChoice">
<csvtargetChoiceName>D0022</csvtargetChoiceName>
<csvcontainerPath />
</csvChoiceEnableTargetChoice>
<csvChoiceEnableTargetChoice handler="com.ptc.windchill.option.load.Loader.createChoiceEnableTargetChoice">
<csvtargetChoiceName>D0025</csvtargetChoiceName>
<csvcontainerPath />
</csvChoiceEnableTargetChoice>
<csvEndChoiceEnable handler="com.ptc.windchill.option.load.Loader.endChoiceEnable" />
<csvBeginChoiceEnable handler="com.ptc.windchill.option.load.Loader.beginChoiceEnable">
<csvsourceChoiceName>D0005</csvsourceChoiceName>
<csvcontainerPath />
</csvBeginChoiceEnable>
<csvChoiceEnableTargetChoice handler="com.ptc.windchill.option.load.Loader.createChoiceEnableTargetChoice">
<csvtargetChoiceName>D0022</csvtargetChoiceName>
<csvcontainerPath />
</csvChoiceEnableTargetChoice>
<csvChoiceEnableTargetChoice handler="com.ptc.windchill.option.load.Loader.createChoiceEnableTargetChoice">
<csvtargetChoiceName>D0025</csvtargetChoiceName>
<csvcontainerPath />
</csvChoiceEnableTargetChoice>
<csvEndChoiceEnable handler="com.ptc.windchill.option.load.Loader.endChoiceEnable" />