Independent Assigned Expressions
Consider this information about loading independent expressions:
Ability to create and manage independent assigned expressions is an advanced capability subject to a separate license entitlement.
The option set must exist in the system before you start loading independent assigned expressions.
In the load file, include information on the independent expression immediately following information on loading the part to which it is assigned.
XML Format
<csvBeginAssignBasicIndependentExpression handler="com.ptc.windchill.option.load.Loader.beginAssignBasicIndependentExpression">
<csvoptionSet>OptionSet A</csvoptionSet>
<csvname>Expression1</csvname>
<csvnumber>101</csvnumber>
<csvversion>A</csvversion>
<csviteration>1</csviteration>
<csvreferenceDesignator>D2001_1</csvreferenceDesignator>
</csvBeginAssignBasicIndependentExpression>

<csvAddBasicExpressionMember handler="com.ptc.windchill.option.load.Loader.addBasicExpressionMember">
<csvchoiceName>Choice AB1</csvchoiceName>
<csvInstanceValue/>
<csvExclude/>
</csvAddBasicExpressionMember>
<csvEndAssignBasicIndependentExpression handler="com.ptc.windchill.option.load.Loader.endAssignBasicIndependentExpression"/>
Attributes for csvBeginAssignBasicIndependentExpression
Attribute
Description
Required or Optional?
csvoptionSet
Name of the option set from which a choice is referenced by the expression
Required
csvname
Name of the expression
Optional
csvnumber
Number of the expression
Optional
csvversion
Version of the expression
Optional
csviteration
Iteration of the expression
Optional
csvreferenceDesignator
Reference designator for the expression
Optional
* 
While both csvchoiceName and csvchoiceNumber are optional attributes, you must specify at least one of them.
Attributes for csvAddBasicExpressionMember
Attribute
Description
Required or Optional?
csvchoiceName
Choice name
Optional
csvchoiceNumber
Choice number
Optional
csvinstanceValue
Should be included but does not require a value.
csvExclude
Should be included but does not require a value.
Isto foi útil?