ExpressionMemberLink
ExpressionMemberLink 映射表
AP242
Windchill
specificationInclusion Conditionentity=specificationInclusion.includedSpecification
或者
ConditionalConfiguration Condition entity =ConditionalConfiguration.Condition
e_ ExpressionMemberLink
condition.parameters 中参考的规范中获取相关的选择规范
expressionMemberRef.objectReference.ufid=Choice.masterUfid
如果 SpecificationInclusion
SpecificationInclusion 获取相关的 ChoiceRule 实体
如果在 Windchill 中启用了 ConditionalCondifgurationThenIf IndependentAssignedExpression,则从 conditionalConfiguration 获取相关的 e_IndependentAssignedExpression
Else
如果启用了分配的表达式,则在 ConditionalConfiguration 上获取 EffectivityAssignment 并从 EffectvivityAssignment.assignedTo 获取部件实体或 NextAssemblyViewUsage 实体
如果 SpecificationInclusion,则 expressionableRef.objectReference.ufid =ChoiceRule.ObjectId.Ufid
如果 ConditionalConfiguration,则
如果 IndependentAssignedExpression,则
expressionableRef.objectReference.ufid=IndependentAssignedExpression.ObjectID.ufidElse
如果 effectivityAssignment 属于部件 类型,则 从部件实体 expressionableRef.objectReference.ufid=WTPart.objectId.Ufid 获取相关的 WTPart,否则从 NextAssemblyViewUsage 实体获取 WTPartUsageLink
expressionableRef.objectReference.ufid=WTPartUsageLink.objectId.Ufid
ObjectId.localId= wt.option.ExpressionMemberLink:+random number
Part 21 表示
#1052= SPECIFICATIONINCLUSION(#1054,CHARACTERSTRING(' ((null))'),$,#600,
#1092);
#1092= ANDCONDITION($,$,$,*,(#943,#908,#1094),$);
#1094= NOTEQUALSCONDITION($,$,$,*,(#929,#887,#936),$);
#1218= ANDCONDITION($,$,$,*,(#1178,#736),$);
#1224= NOTCONDITION($,$,$,*,(#1180),$);
#1225= ORCONDITION(#1229,CHARACTERSTRING('1621847369'),$,*,(#1224,#600),$);
#1253= CONDITIONALCONFIGURATION($,$,$,$,$,$,$,$,$,#1225,CLASSSTRING('usage'),
CLASSSTRING('local'));
#1254= EFFECTIVITYASSIGNMENT($,$,$,CLASSSTRING('required'),#1253,#43,.T.);
这对您有帮助吗?