IndependentAssignedExpression
IndependentAssignedExpression Mapping Table
AP242
Windchill
ConditionalConfiguration
Get Condition entity referenced by
ConditionalConfiguration.condition
e_IndependentAssignedExpression
If independent assigned expression is enabled in Windchill then import ConditionalConfiguration as IndependentAssignedExpressionbasicExpression=false
* 
Independent assigned expression for non Windchill data will get imported as advance expression.
Condition.id
r_number
If condition.id is not set then
r_number =timestamp+random number.
Condition.description
name
If condition.description is not set then name =timestamp+random number.
Condition
Get relevant choice from specifications referenced by Condition.parameters and populate e_ExpressionMemberLink
For more information, see Mapping for ExpressionMemberLink
Also convert Condition to expressionJsonStringexpressionData=expressionJsonString
For more info see,Mapping for ExpressionData
Get EffectivityAssignment assigned on ConditionalConfiguration
If EffectivityAssignmentassigned.To is of type PartVersion then Get relevant WTPart from PartVersionassignmentType=’MASTER’
assignableClass=’ wt.part.WTPart’
assignableContextId=’none’
assignableContextReference=WTPart.masterUfid
else if EffectivityAssignment.assignedTo is of type NextAssemblyViewUsage then
Get relevant WTPartUsageLink from NextAssemblyViewUsage
assignmentType = ‘MASTER_USAGE’
assignableClass=’ wt.part.WTPartUsageLink’
assignableContextId= WTPartUsageLink.componentId
assignableContextReference=WTPartUsageLink.masterUfid
Get DataValidityEffectivity assigned to
Condition
Populate e_WTDatedEffectivity
For more information see Mapping for WTDatedEffectivity.
Get SerialEffectivity assigned to
Condition
Populate e_ProductSerialNumberEffectivity
externalTypeId = com.ptc.windchill.option.model.IndependentAssignedExpression
For generation of Local ids and Ufids, see LocalId and Ufids Mapping Table.
PART 21 Representation
#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.);
War dies hilfreich?