Personalizzazione avanzata > 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 > Choice
  
Choice
Choice Mapping Table
AP242
Windchill
Specification
SpecificationAssignment
e_Choice
Specification.id
r_number
Specification.name
name
If Specification.name is not set then
name=Specification.id
If name of assigned property on specification = ‘NUMERIC’ and assigned property value is of type ValueWithUnit then
Import the Choice as numeric choice
IF Numeric choice then Get assigned propertyValue on specification optionDataType = ’NUMERIC’choiceDataValue = propertyValue.valueComponent.
choiceDataValuePrecision = propertyValue.significantDigits
quantityOfMeasure.name=propertyValue.unit.name
Else
optionDataType= ‘STRING’
Specification.category
Get the relevant Option from SpecificationCategory referenced by Specification.category and populate e_OptionChoiceMasterLink
For more information, see Mapping for e_OptionChoiceMasterLink
SpecificationAssignment.assignedTo
Get the relevant OptionSet from ProductClass referenced by SpecificationAssignment.assignedTo and populate e_OptionSetMemberLink
For more information, see Mapping for OptionSetMemberLink
uniqueMemberId = ‘C’+random number
externalTypeId = WCTYPE|com.ptc.windchill.option.model.Choice|com.ptc.windchill.option.DesignChoice$com_ptc_windchill_option_model_Choice
For generation of Local ids and Ufids, see LocalId and Ufids Mapping Table.
PART 21 Representation:
#361= SPECIFICATION(#362,CHARACTERSTRING('choice 3.1'),
CHARACTERSTRING(((null))'),IDENTIFIERSTRING('A.1'),$,#325,.F.);
#362= IDENTIFIER('00041',$,#58,#13);
#872= SPECIFICATIONASSIGNMENT($,$,#634,#207);