AP242
|
Windchill
|
specificationInclusionConditionentity=specificationInclusion.includedSpecification
Or
ConditionalConfigurationCondition entity =ConditionalConfiguration.Condition
|
e_ ExpressionMemberLink
|
Get relevant Choice entity from specification referenced in condition.parameters
|
expressionMemberRef.objectReference.ufid=Choice.masterUfid
|
If SpecificationInclusion
Get relevant ChoiceRule entity from SpecificationInclusion
OR
If ConditionalCondifgurationThenIf IndependentAssignedExpression is enabled in windchill then get relevant e_IndependentAssignedExpression from conditionalConfiguration
Else
If assigned expression is enabled then get EffectivityAssignment on ConditionalConfiguration and get Part entity or NextAssemblyViewUsage entity from EffectvivityAssignment.assignedTo
|
If SpecificationInclusion then expressionableRef.objectReference.ufid =ChoiceRule.ObjectId.Ufid
If ConditionalConfiguration then
If IndependentAssignedExpression then
expressionableRef.objectReference.ufid=IndependentAssignedExpression.ObjectID.ufidElse
If effectivityAssignment is of type Part Then Get relevant WTPart from Part entity expressionableRef.objectReference.ufid=WTPart.objectId.Ufidelse WTPartUsageLink from NextAssemblyViewUsage entity
expressionableRef.objectReference.ufid=WTPartUsageLink.objectId.Ufid
|
ObjectId.localId= wt.option.ExpressionMemberLink:+random number
|