WTPartUsageLink 和具体值
映射表
WNC
BOM
e_WTPartUsageLink
NextAssemblyViewUsage.relationType=’next assembly view’
属性;localId, ufid, externalTypeId, traceCode, lineNumber, cadSynchronized, componentId
有关详细信息,请参阅模型属性映射
PropertyDefinitionSelectNextAssemblyViewUsage
expressionData
(为使用关系上预先分配的表达式填充)
表示此表达式数据的条件实体
ConditionalConfiguration.condition=condition
EffectivityAssignment.assignedEffectivity=ConditionalConfiguration
EffectivityAssignment.assignedTo=NextAssemblyViewUsage
EffectivityAssignment.role=’required’
EffectivityAssignment.effectivityIndication=TRUE
有关详细信息,请参阅 expressionData 映射。
quantityAmount, quantityUnit
NumericalValue.valueComponent= quantityAmount
NumericalValue.unit = Unit
Unit.name = quantityUnit
NextAssemblyViewUsage.quantity = NumericalValue
uses
对于 WTPartUsageLink 映射:NextAssemblyViewUsage.related=PartView
对于具体值映射:SingleOccurrence.definition=PartView
Windchill 中的 'uses' 角色是 WTPartMaster。但是,AP242 需要映射到 WTPartPartView 实体。可以使用 PartViewPartVersion 实体上的 INVERSE 属性从 PartView (WTPart) 导航到 Part (WTPartMaster)。
usedBy
对于 WTPartUsageLink 映射:NextAssemblyViewUsage.relating=AssemblyDefinition
对于具体值映射:NextAssemblyOccurrenceUsage.relating=AssemblyDefinition
具体值 (如果存在)
NextAssemblyOccurrenceUsage.relationType=’next assembly occurrence’
NextAssemblyOccurrenceUsage.related=SingleOccurrence
Occurrence.name
SingleOccurrence.id
NextAssemblyViewUsage.locationIndicator = (所有具体值名称都串联在一起。串联符号 = ',')
Occurrence. occGlobalId, buildStatus
有关详细信息,请参阅模型属性映射
PropertyDefinitionSelectSingleOccurrence
Occurrence.transformString
CartesianTransformation.rotationMatrix,translationVector = transformString 的各部分之间以 '#' 拆分。
NextAssemblyOccurrenceUsage.placement = CartesianTransformation
Part 21 表示
#1= ASSEMBLYDEFINITION($,$,$,$,$,#11,$,$);
#11= VIEWCONTEXT(CHARACTERSTRING('part definition'),
PROXYSTRING('mechanical design'),
PROXYSTRING('design'));
#51= ASSEMBLYDEFINITION($,$,$,$,$,#11,$,$);
#228= NEXTASSEMBLYVIEWUSAGE($,$,$,*,#51,#1,$,IDENTIFIERSTRING('A1,A2'),#230);
#229= PROPERTYVALUEASSIGNMENT($,$,$,$,(#231,#233,#234,#235,#236,#237),#228,$);
#230= NUMERICALVALUE($,$,PROPERTYDEFINITIONSTRING('quantity'),$,$,$,#220,2.,$);
#231= STRINGVALUE($,$,PROPERTYDEFINITIONSTRING('localId'),$,$,CHARACTERSTRING
('wt.part.WTPartUsageLink:160359'));
#233= STRINGVALUE($,$,PROPERTYDEFINITIONSTRING('ufid'),$,$,CHARACTERSTRING
('wt.part.WTPartUsageLink:160359|789177195-1452009825602-
2048102341-88-244-152-10|
esdcsv-ccv11c.ptcnet.ptc.com'));
#234= STRINGVALUE($,$,PROPERTYDEFINITIONSTRING('externalType'),$,$
,CHARACTERSTRING
('WCTYPE|wt.part.WTPartUsageLink'));
#235= STRINGVALUE($,$,PROPERTYDEFINITIONSTRING('traceCode'),$,$,
CHARACTERSTRING('0'));
#236= STRINGVALUE($,$,PROPERTYDEFINITIONSTRING('cadSynchronized'),$,$,
CHARACTERSTRING('no'));
#237= STRINGVALUE($,$,PROPERTYDEFINITIONSTRING('componentId'),$,$,
CHARACTERSTRING
('ae7fd4fa-3452-49ed-a1ec-00cfc8ed15a2'));
#238= PROPERTYVALUEASSIGNMENT($,$,$,$,(#241,#243),#239,$);
#239= SINGLEOCCURRENCE(IDENTIFIERSTRING('A1'),$,$,$,#1);
#240= NEXTASSEMBLYOCCURRENCEUSAGE($,$,$,*,#51,#239,#244);
#241= STRINGVALUE($,$,PROPERTYDEFINITIONSTRING('occGlobalId'),$,$
,CHARACTERSTRING
('789177195-1452009825602-2048102341-88-244-152-10:1382'));
#243= STRINGVALUE($,$,PROPERTYDEFINITIONSTRING('buildStatus'),$,$,
CHARACTERSTRING
('not_built'));
#244= CARTESIANTRANSFORMATION($,$,((0.723874543659168,0.01563703695269772,
-0.6897543969541414),(0.6308190108172688,0.3898854360647259,0.
6708626702508803),
(0.2794154981989259,-0.9207305956793002,0.2723640019280953)),1.,
(2.,3.000000000000001,4.000000000000001));
这对您有帮助吗?