RuleMemberActionLink
RuleMemberActionLink Mapping Table
AP242
Windchill
specificationInclusion
Condition entity =specificationInclusion.includedSpecification
e_RuleMemberActionLink
Condition.type
If Condition.type=’and’ or If specificationInclusion.includedSpecification is type of specification then
RuleMemberAction = ‘SELECT’
If Condition.type=’notEquals’ then
RuleMemberAction = ‘DISABLE’
If Condition.type=’or’ then RuleMemberAction = ‘REQUIRES’.
Get relevant Choice entity from specification referenced in condition.parameters
ruleMemberRef.objectReference.ufid=Choice.masterUfid
Get relevant ChoiceRule entity from SpecificationInclusion
ruleRef.objectReference.ufid=ChoiceRule.ObjectId.Ufid
ObjectId.localId= com.ptc.windchill.option.model.RuleMemberActionLink:+random number
PART 21 Representation
#1096= SPECIFICATIONINCLUSION(#1098,CHARACTERSTRING('((null))'),$,#1218,
#396);
#396= SPECIFICATION(#397,CHARACTERSTRING('choice 4.2'),CHARACTERSTRING(
' ((null))'),IDENTIFIERSTRING('A.1'),$,#252,.F.);
這是否有幫助?