高级自定义 > 业务逻辑自定义 > 使用 Windchill 中的标准进行数据交换 > 使用 EXPRESS 进行 STEP 数据交换 > AP242 XPX 映射指南 > AP242 到 Windchill EXPRESS 实体的映射表 > WTPart
  
WTPart
映射表
WNC
BOM
e_WTPart
部件。(对于主数据)
PartVersionPartView。(对于迭代)
Part.versions[] = PartVersion
PartVersion.views[] = PartView
PartView.initialContext = ViewContext
AssemblyDefinition.initialContext = ViewContext
(如果 WTPart 没有子项,则使用 PartView。如果 WTPart 有子项,则使用 AssemblyDefinition)。
ViewContext.description = ‘part definition’
ViewContext.applicationDomain=’mechanical design
ViewContext.lifeCycleStage=’design’
r_number
Part.id
name
LocalizedString.text
Part.name = LocalizedString
expressionData
(为部件上预先分配的表达式填充)
表示此表达式数据的条件实体
ConditionalConfiguration.condition=condition
EffectivityAssignment.assignedEffectivity=ConditionalConfiguration
EffectivityAssignment.assignedTo=partVersion
EffectivityAssignment.role=’required’
EffectivityAssignment.effectivityIndication=TRUE
有关详细信息,请参阅 expressionData 映射。
version
PartVersion.id = Identifier
有关详细信息,请参阅标识符映射表
lifecycleState
Approval.status
externalTypeId
* 
如果对象不是自定义类型或可变类型,则 externalTypeId 将导出为 PropertyValue
如果对象是自定义或可变类型,则
Part.ClassifiedAs.Classification++Class
Class.id = externalTypeId
Class.definedIn =ExternalClassSystem
ExternalClassSystem.id=’customized part types’ 为标识符
有关详细信息,请参阅标识符映射表
属性
[ObjectID.localId,
ObjectID.ufid,
ObjectID.FederationInfo.additionalPersistInfo.master.localId, ObjectID.FederationInfo.repositoryInfo.lastKnownRepository,
ObjectID.FederationInfo.masterRepositoryInfo.owningRepository,
ObjectID.FederationInfo.masterRepositoryInfo.lastKnownRepository,
objectContainerPath,
masterUfid,
name,
defaultUnit,endItem,defaultTraceCode,collapsible, phantom , hidePartInStructure,partType,partSource,domainName,folderPath,view,
versionInfo.versionLevel,
versionInfo.series,
versionInfo.versionPosition,
versionInfo.iterationSeries,
versionInfo.iterationPosition,
versionInfo.predecessor,
versionInfo.derivedFrom,
versionInfo.viewLevel,
lifecycleInfo.lifecycleTemplateName,
externalTypeId]
有关详细信息,请参阅模型属性映射
组织
有关详细信息,请参阅组织映射表
IF (endItem = ‘true’)
partType = ‘seperable’
Part. partTypes = ('product','assembly')
partType = ‘inseperable’
Part. partTypes = ('product','assembly','piece part')
partType = ‘component’
Part. partTypes = ('product','piece part')
IF (endItem = ‘false’)
partType = ‘seperable’
Part. partTypes = ('assembly')
partType = ‘inseperable’
Part. partTypes = ('assembly','piece part')
partType = ‘component’
Part. partTypes = ('piece part')
Part 21 表示
#1= PART(#45,#46,$,$,('assembly'),$,(#2));
#2= PARTVERSION(#30,$,$,$,(#5));
#5= PARTVIEW($,$,$,$,$,#14,$);
#5= ASSEMBLYDEFINITION($,$,$,$,$,#14,$,$);
#7= APPROVAL($,$,$,$,$,$,CLASSSTRING('INWORK'),$);
#8= APPROVALASSIGNMENT($,$,$,#7,(#2));
#12= ORGANIZATION(IDENTIFIERSTRING('Demo Organization'),#13,$,$,$);
#13= LOCALIZEDSTRING($,'Demo Organization');
#14= VIEWCONTEXT(CHARACTERSTRING('part definition'),
PROXYSTRING('mechanical design'),
PROXYSTRING('design'));
#30= IDENTIFIER('A.1',$,CLASSSTRING('identification information'),#12);
#45= IDENTIFIER('0000000001',$,CLASSSTRING
('identification information'),#12);
#46= LOCALIZEDSTRING(('en-IN'),'Test_Part1');