Windchill のその他の機能 > サービス情報管理 > サービス構造について > サービス構造の構築 > サービス構造への自動追加について > 自動追加: サンプルコンフィギュレーションファイル
  
自動追加: サンプルコンフィギュレーションファイル
以下のサンプルコンフィギュレーションファイルでは、CAR_IS という名前の情報構造内の Axle という名前のグループに、名前が 212 で始まる部品リストを自動追加しています。
CAR_IS に自動追加するには、コンフィギュレーションファイルを以下のように設定します。
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Configuration SYSTEM "structureConfig.dtd"
<Configuration>
<Rule>
<IEType internalName="com.ptc.arbortext.windchill.partlist.PartList">
<Matches>
<AttributeExpressions>
<AttributeExpression internalName="name"
operand="beginsWith" value="212-" />
</AttributeExpressions>
</Matches>
</IEType>
<Structure>
<InformationStructures>
<InformationStructure>
<Matches>
<AttributeExpressions>
<AttributeExpression
internalName="name" operand="beginsWith"
value="CAR_IS"/>
</AttributeExpressions>
</Matches>
<Group>
<Matches>
<AttributeExpressions>
<AttributeExpression
internalName="name" operand="contains"
value="Axle" />
</AttributeExpressions>
</Matches>
</Group>
</InformationStructure>
</InformationStructures>
<PublicationStructures>
<PublicationStructure>
<Matches>
<AttributeExpressions>
<AttributeExpression
internalName="name" operand="contains"
value="Ps11" />
</AttributeExpressions>
</Matches>
<Section>
</Matches>
<AttributeExpressions>
<AttributeExpression
internalName="name" operand="contains"
value="Sec1" />
</AttributeExpressions>
</Matches>
</Section>
</PublicationStructure>
</PublicationStructures>
</Structure>
</Rule>
</Configuration>
保存して閉じます。
CAR_IS 情報構造内の Axle という名前のすべてのグループに、212 で始まる部品リストが自動追加されます。