EPMMemberLink
映射表
WNC
|
BOM
|
e_EPMMemberLink (具有转换矩阵,其中 quantityAmount 等于 '1',quantityUnit 等于 'ea')
|
NextAssemblyOccurrenceUsage.relationType=’next assembly view’NextAssemblyOccurrenceUsage.related=SingleOccurrence
|
e_EPMMemberLink (没有变换矩阵,或者 quantityUnit 不等于 'ea',或者 quantityAmount 不等于 '1')
|
ViewOccurrenceRelationship.relationType=’next assembly view’ViewOccurrenceRelationship.related=QuantifiedOccurrence
|
属性;localId, ufid, externalTypeId, depType, asStoredChildName, isRequired, uniqueLinkId, uniqueNDId, isSuppressed, isFixed, isAnnotated, identifier, quantityAmount, quantityUnit, isPlaced, hasTransform, compNumber, compRevNumber, compLayerIdx, isSubstitute, identiferSpaceName
|
如果 e_EPMMemberLink 已转换,则将 PropertyDefinitionSelect 设为 NextAssemblyOccurrenceUsage,否则为 ViewOccurrenceRelationship。
|
quantityAmount, quantityUnit
(这些仅针对 QuantifiedOccurrence 进行映射,否则数量必须为 '1',单位必须为 'ea',因此我们不进行映射)
|
NumericalValue.valueComponent= quantityAmount
NumericalValue.unit = Unit
Unit.name = quantityUnit
QuantifiedOccurrence.quantity = NumericalValue
|
name
|
具体值 (SingleOccurrence 或 QuantifiedOccurrence).id
|
usedBy
|
NextAssemblyOccurrenceUsage.relating= AssemblyDefinition
或
ViewOccurrenceRelationship.relating= AssemblyDefinition
|
uses
|
NextAssemblyOccurrenceUsage.related= PartView
或
ViewOccurrenceRelationship.related = PartView
Windchill 中的 'uses' 角色是 EPMDocumentMaster。但是,AP242 需要映射到 EPMDocument 的 PartView 实体。可以使用 PartView 和 PartVersion 实体上的 INVERSE 属性从 PartView (EPMDocument) 导航到部件 (EPMDocumentMaster)。
|
transform
|
NextAssemblyViewUsage.placement = GeometricRepresentationRelationshipWithCartesianTransformation
GeometricRepresentationRelationshipWithCartesianTransformation.transformation = CartesianTransformation
|
Part 21 表示
#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.),$);
或
#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'));