Advanced Customization > Business Logic Customization > Data Exchange using Standards in Windchill > STEP Data Exchange using EXPRESS > AP242 XPX Mapping Guide > Mapping Table for Import of AP242 (non-Windchill data) to Windchill EXPRESS Entities > WTPartUsageLink and Occurrence
  
WTPartUsageLink and Occurrence
Mapping Table
AP242
Windchill
Notes
NextAssemblyOccurrenceUsage(…);
e_WTPartUsageLink(…);
Only one instance per a distinct pair of parent/child (relating/related) is created.
ViewOccurenceRelationship(…);
e_WTPartUsageLink(…);
e_WTPartUsageLink.ObjectID.localId, e_WTPartUsageLink.ObjectID.ufid
'WCTYPE|wt.part.WTPartUsageLink'
e_WTPartUsageLink.externalTypeId
NextAssemblyOccurrenceUsage.related = SingleOccurrence(…);
or
ViewOccurrenceRelationship.related=QuantifiedOccurrence(…);
QuantifiedOccurrence.quantity = NumericalValue(…);
NumericalValue.unit =Unit(…);
Unit.name
e_WTPartUsageLink.quantityUnit
(If it is SingleOccurence, quantity is 1 and unit is “ea”)
(If QuantifieidOccurence, quantity and unit is picked up from that entity)
NextAssemblyOccurrenceUsage.related = SingleOccurrence(…);
SingleOccurrence.definition = PARTVIEW(…);
One can navigate from a PartView (WTPart) to the Part (WTPartMaster) using the INVERSE attributes on the PartView and PartVersion entities.
e_WTPartUsageLink.uses
NextAssemblyOccurrenceUsage.relating = PARTVIEW(…);
One can navigate from a PartView (WTPart) to the PartVersion(WTPartVersion) using the INVERSE attributes on the PartView entity.
e_WTPartUsageLink.usedBy
NextAssemblyOccurrenceUsage.related = SingleOccurrence(…);
e_occurence and added to the e_WTPartUsageLink.occurrences list
SingleOccurrence.id
e_occurence.name
NextAssemblyOccurrenceUsage.placement = CARTESIANTRANSFORMATION(…);
e_occurence.transformString
For more information on how the placement information correlates to transformString see WTPartUsageLink and Occurrence.
Part 21 Representation
#384= VIEWCONTEXT($,PROXYSTRING('VPLM_RN_PDT_CMP'),PROXYSTRING('FROZEN'));
#386= PARTVIEW($,$,$,$,$,#384,$);
#869= NEXTASSEMBLYOCCURRENCEUSAGE(IDENTIFIERSTRING('2407966'),
CHARACTERSTRING(''),$,*,#386,#892,#893);
#892= SINGLEOCCURRENCE(IDENTIFIERSTRING('1'),$,$,$,#5306);
#893= CARTESIANTRANSFORMATION($,$,((1.,0.,0.),(0.,1.,0.),(0.,0.,1.)),$,
(0.,0.,0.));
#3268= PARTVERSION(IDENTIFIERSTRING('001'),CHARACTERSTRING(''),$,$,(#386));
#3311= PART(IDENTIFIERSTRING('CMP0847328'),TRANSLATEDSTRINGSET((#3313,#3315)
),$,$,(#385,#280),$,(#3268));
#5305= VIEWCONTEXT($,PROXYSTRING('VPLM_RN_PDT_OCR'),PROXYSTRING('FROZEN'));
#5306= PARTVIEW($,$,$,$,$,#5305,$);
#5341= PARTVERSION(IDENTIFIERSTRING('001'),CHARACTERSTRING(''),$,$,(#5306));
#5384= PART(IDENTIFIERSTRING('OCR0847327'),TRANSLATEDSTRINGSET((#5386,#5388))
,$,$,(#3325,#280),$,(#5341));
#5415= VIEWCONTEXT(CHARACTERSTRING('part definition'),PROXYSTRING
('mechanical design'),PROXYSTRING('design'));
#5480= ASSEMBLYDEFINITION($,$,$,$,$,#5415,$,CLASSSTRING('design assembly'));
#181= VIEWOCCURRENCERELATIONSHIP($,$,$,$,#5480,#55180);
#55180= QUANTIFIEDOCCURRENCE(IDENTIFIERSTRING('/NULL'),$,$,$,#55129,#55171);
#55171= NUMERICALVALUE($,$,PROPERTYDEFINITIONSTRING('quantity'),$,$,$,
#55172,1.,$);
#55172= UNIT(CLASSSTRING('kg'),$,$,$);
#55129= PARTVIEW($,$,$,$,$,#5415,$);