Personalizzazione avanzata > Business Logic Customization > Data Exchange using Standards in Windchill > STEP Data Exchange using EXPRESS > AP242 XPX Mapping Guide > Mapping Table for AP242 to Windchill EXPRESS Entities > EPMMemberLink
  
EPMMemberLink
Mapping Table
WNC
BOM
e_EPMMemberLink (that has transform matrix, with quantityAmount equal to ‘1’ and quantityUnit equal to ‘ea’)
NextAssemblyOccurrenceUsage.relationType=’next assembly view’NextAssemblyOccurrenceUsage.related=SingleOccurrence
e_EPMMemberLink (that doesn’t have transform matrix, or quantityUnit not equal to ‘ea’, or quantityAmount not equal to ‘1’)
ViewOccurrenceRelationship.relationType=’next assembly view’ViewOccurrenceRelationship.related=QuantifiedOccurrence
Attributes; localId, ufid, externalTypeId, depType, asStoredChildName, isRequired, uniqueLinkId, uniqueNDId, isSuppressed, isFixed, isAnnotated, identifier, quantityAmount, quantityUnit, isPlaced, hasTransform, compNumber, compRevNumber, compLayerIdx, isSubstitute, identiferSpaceName
With PropertyDefinitionSelect as NextAssemblyOccurrenceUsage if e_EPMMemberLink has transform, otherwise ViewOccurrenceRelationship.
quantityAmount, quantityUnit
(These are only mapped for QuantifiedOccurrence, otherwise quantity must be ‘1’ and unit must be ‘ea’, so we don’t map)
NumericalValue.valueComponent= quantityAmount
NumericalValue.unit = Unit
Unit.name = quantityUnit
QuantifiedOccurrence.quantity = NumericalValue
name
Occurrence(SingleOccurrence or QuantifiedOccurrence).id
usedBy
NextAssemblyOccurrenceUsage.relating= AssemblyDefinition
OR
ViewOccurrenceRelationship.relating= AssemblyDefinition
uses
NextAssemblyOccurrenceUsage.related= PartView
OR
ViewOccurrenceRelationship.related = PartView
The ‘uses’ role in Windchill is a EPMDocumentMaster. However AP242 requires a PartView entity which maps to a EPMDocument. You can navigate from a PartView (EPMDocument) to the Part (EPMDocumentMaster) using the INVERSE attributes on the PartView and PartVersion entities.
transform
NextAssemblyViewUsage.placement = GeometricRepresentationRelationshipWithCartesianTransformation
GeometricRepresentationRelationshipWithCartesianTransformation.transformation = CartesianTransformation
Part 21 Representation
#204= NEXTASSEMBLYOCCURRENCEUSAGE($,$,$,*,#1,#227,#229);
#205= PROPERTYVALUEASSIGNMENT($,$,$,$,(#206,#208,#209,#210,
#211,#212,#213,#214,#215,#216,#217,#218,#219,#220,
#221,#222,#223,#224,#225,#226),#204,$);
#206= STRINGVALUE($,$,PROPERTYDEFINITIONSTRING('localId'),$,$,
CHARACTERSTRING
('wt.epm.structure.EPMMemberLink:192332'));
#208= STRINGVALUE($,$,PROPERTYDEFINITIONSTRING('ufid'),$,$,CHARACTERSTRING(
'wt.epm.structure.EPMMemberLink:192332|789177195-1452009825602-2048102341-88
-244-152-10
|esdcsv-ccv11c.ptcnet.ptc.com'));
#209= STRINGVALUE($,$,PROPERTYDEFINITIONSTRING('externalTypeId'),$,$,
CHARACTERSTRING(
'WCTYPE|wt.epm.structure.EPMMemberLink|
com.ptc.ptcnet.DefaultEPMMemberLink'));
#210= STRINGVALUE($,$,PROPERTYDEFINITIONSTRING('depType'),$,$,
CHARACTERSTRING('2'));
#211= STRINGVALUE($,$,PROPERTYDEFINITIONSTRING('asStoredChildName'),$,$,
CHARACTERSTRING('0000000322.prt'));
#212= STRINGVALUE($,$,PROPERTYDEFINITIONSTRING('isRequired'),$,$,
CHARACTERSTRING('true'));
#213= STRINGVALUE($,$,PROPERTYDEFINITIONSTRING('uniqueLinkId'),$,$,
CHARACTERSTRING('2401'));
#214= STRINGVALUE($,$,PROPERTYDEFINITIONSTRING('uniqueNDId'),$,$,
CHARACTERSTRING('PDM_2401'));
#215= STRINGVALUE($,$,PROPERTYDEFINITIONSTRING('isSuppressed'),$,$,
CHARACTERSTRING('false'));
#216= STRINGVALUE($,$,PROPERTYDEFINITIONSTRING('isFixed'),$,$,
CHARACTERSTRING('true'));
#217= STRINGVALUE($,$,PROPERTYDEFINITIONSTRING('isAnnotated'),$,$,
CHARACTERSTRING('true'));
#218= STRINGVALUE($,$,PROPERTYDEFINITIONSTRING('identifier'),$,$,
CHARACTERSTRING('-2001'));
#219= STRINGVALUE($,$,PROPERTYDEFINITIONSTRING('quantityAmount'),$,$,
CHARACTERSTRING('1.0'));
#220= STRINGVALUE($,$,PROPERTYDEFINITIONSTRING('quantityUnit'),$,$,
CHARACTERSTRING('ea'));
#221= STRINGVALUE($,$,PROPERTYDEFINITIONSTRING('isPlaced'),$,$,
CHARACTERSTRING('true'));
222= STRINGVALUE($,$,PROPERTYDEFINITIONSTRING('hasTransform'),$,$,
CHARACTERSTRING('true'));
#223= STRINGVALUE($,$,PROPERTYDEFINITIONSTRING('compNumber'),$,$,
CHARACTERSTRING('-1'));
#224= STRINGVALUE($,$,PROPERTYDEFINITIONSTRING('compRevNumber'),$,$,
CHARACTERSTRING('-1'));
#225= STRINGVALUE($,$,PROPERTYDEFINITIONSTRING('compLayerIdx'),$,$,
CHARACTERSTRING('-1'));
#226= STRINGVALUE($,$,PROPERTYDEFINITIONSTRING('isSubstitute'),$,$,
CHARACTERSTRING('false'));
#227= SINGLEOCCURRENCE(IDENTIFIERSTRING('G1'),$,$,$,#146);
#228= CARTESIANTRANSFORMATION($,$,((1.,0.,0.),(0.,1.,0.),(0.,0.,1.))
,1.,(1.,2.,3.));
#229= GEOMETRICREPRESENTATIONRELATIONSHIPWITHCARTESIANTRANSFORMATION
($,$,$,#69,#197,.F.,#228);
#1= ASSEMBLYDEFINITION($,$,$,$,$,#9,$,$);
#9= VIEWCONTEXT(CHARACTERSTRING('part definition'),
PROXYSTRING('digital mock-up'),
PROXYSTRING('design'));
#197= EXTERNALGEOMETRICMODEL(IDENTIFIERSTRING('0000000322.prt'),$,$,$,$,
#198,(#200),$,$,#181,$);
#198= GEOMETRICCOORDINATESPACE(IDENTIFIERSTRING('/NULL'),$,3,$);
#200= AXISPLACEMENT($,$,$,(0.,0.,0.),$);


OR



#236= VIEWOCCURRENCERELATIONSHIP($,$,$,CLASSSTRING('next assembly
occurrence'),#1,#258);
#237= PROPERTYVALUEASSIGNMENT($,$,$,$,(#238,#240,#241,#242,#243,
#244,#245,#246,#247,
#248,#249,#250,#251,#252,#253, #254,#255,#256,#257),#236,$);
#238= STRINGVALUE($,$,PROPERTYDEFINITIONSTRING('localId'),$,$,
CHARACTERSTRING
('wt.epm.structure.EPMMemberLink:192334'));
#240= STRINGVALUE($,$,PROPERTYDEFINITIONSTRING('ufid'),$,$,
CHARACTERSTRING(
'wt.epm.structure.EPMMemberLink:192334|789177195-1452009825602-
2048102341-88-244-152-10
|esdcsv-ccv11c.ptcnet.ptc.com'));
#241= STRINGVALUE($,$,PROPERTYDEFINITIONSTRING('externalTypeId'
),$,$,CHARACTERSTRING(
'WCTYPE|wt.epm.structure.EPMMemberLink|com.ptc.ptcnet.
DefaultEPMMemberLink'));
#242= STRINGVALUE($,$,PROPERTYDEFINITIONSTRING('depType'),$,$,
CHARACTERSTRING('131072'));
#243= STRINGVALUE($,$,PROPERTYDEFINITIONSTRING('asStoredChildName'),$,$,
CHARACTERSTRING('0000000323.prt'));
#244= STRINGVALUE($,$,PROPERTYDEFINITIONSTRING('isRequired'),$,$,
CHARACTERSTRING('true'));
#245= STRINGVALUE($,$,PROPERTYDEFINITIONSTRING('uniqueLinkId'),$,$,
CHARACTERSTRING('2403'));
#246= STRINGVALUE($,$,PROPERTYDEFINITIONSTRING('uniqueNDId'),$,$,
CHARACTERSTRING('PDM_2403'));
#247= STRINGVALUE($,$,PROPERTYDEFINITIONSTRING('isSuppressed'),$,$,
CHARACTERSTRING('false'));
#248= STRINGVALUE($,$,PROPERTYDEFINITIONSTRING('isFixed'),$,$,
CHARACTERSTRING('true'));
#249= STRINGVALUE($,$,PROPERTYDEFINITIONSTRING('isAnnotated'),$,$,
CHARACTERSTRING('true'));
#250= STRINGVALUE($,$,PROPERTYDEFINITIONSTRING('identifier'),$,$,
CHARACTERSTRING('-2003'));
#251= STRINGVALUE($,$,PROPERTYDEFINITIONSTRING('quantityAmount'),$,$,
CHARACTERSTRING('1.0'));
#252= STRINGVALUE($,$,PROPERTYDEFINITIONSTRING('quantityUnit'),$,$,
CHARACTERSTRING('ea'));
#253= STRINGVALUE($,$,PROPERTYDEFINITIONSTRING('isPlaced'),$,$,
CHARACTERSTRING('false'));
#254= STRINGVALUE($,$,PROPERTYDEFINITIONSTRING('compNumber'),$,$,
CHARACTERSTRING('-1'));
#255= STRINGVALUE($,$,PROPERTYDEFINITIONSTRING('compRevNumber'),$,$,
CHARACTERSTRING('-1'));
#256= STRINGVALUE($,$,PROPERTYDEFINITIONSTRING('compLayerIdx'),$,$,
CHARACTERSTRING('-1'));
#257= STRINGVALUE($,$,PROPERTYDEFINITIONSTRING('isSubstitute'),$,$,
CHARACTERSTRING('false'));
#258= QUANTIFIEDOCCURRENCE(IDENTIFIERSTRING('/NULL'),$,$,$,#87,
#259);
#259= NUMERICALVALUE($,$,PROPERTYDEFINITIONSTRING('quantity'),$,$,$,
#260,1.,$);
#260= UNIT(CLASSSTRING('ea'),$,$,$);
#1= ASSEMBLYDEFINITION($,$,$,$,$,#9,$,$);
#9= VIEWCONTEXT(CHARACTERSTRING('part definition'),PROXYSTRING
('digital mock-up'),
PROXYSTRING('design'));