Creo Elements/Direct Model Manager Customization Guide > Additional Customizations > Add pseudo attributes to send to Creo Elements/Direct Drafting
Add pseudo attributes to send to Creo Elements/Direct Drafting
After migrating a localized schema to English (Unicode or ISO), legacy drawings may exist that have Text References to the old localized attribute names. To easily handle these references, you can configure your xml file to have a pseudo attribute of the old localized name that maps to the new English attribute name.
The following example maps the Name attribute from the DRAWING_2D class to the MD_NAME attribute within Creo Elements/Direct Drafting after the load. (The <TargetAttributeName> is where the real value comes from.)
<Class extends="DMDrawing, DMReleaseProcess">
<Name catalog="awm_stda" msg_num="254">DRAWING_2D</Name>
<Attribute>MD_NAME
<TargetAttributeName catalog="awm_stda" msg_num="200">NAME</TargetAttributeName>
<Visible>true</Visible>
<Protect>false</Protect>
<DataType>VARCHAR</DataType>
<SendPseudoAttributeTextReferencesToCad>true</SendPseudoAttributeTextReferencesToCad>
</Attribute>
</Class>
Was this helpful?