Optional Configuration Settings for PDM Connector Users

Data Type Mappings

Definition of mapping of PLMXML Form attribute data types to UDM attribute data types.

If a PLMXML Form attribute data type is not listed, it will be mapped to the corresponding UDM type as is. Supported UDM attribute data types include: boolean, date, double, float, int, long, string, and stringlist.

Unique Key Generation

Unique key generation is disabled by default. It uses Occurrence's AppRef label if needed.

VisMockup to UDMXML Translation Configuration

Below are the settings for translating VisMockup PLMXML to UDMXML.

The VisMockupProtoPartId element specifies the source of the UDMPartProto "id" attribute.

It references the attribute name of a <UserValue/> tag within the <ProductRevisionView/> element that corresponds to the actual Part ID.

Example:
<VisMockupToUDMXML>                                                                                           
	        <VisMockupProtoPartId fallBackAttribute="id">                                                               
	          <Value>PLM_UID</Value>                                                                                    
	        </VisMockupProtoPartId>                                                                                     
	      </VisMockupToUDMXML>
The optional "fallBackAttribute" attribute is used if the attribute in the <Value/> element is invalid or missing. The supported values are: "name" or "id".
  • If fallBackAttribute="name", the "name" attribute from the ProductRevisionView element is used as the UDMPartProto element "id".
  • If fallBackAttribute="id", the "id" attribute is used instead (default behavior).

The VisMockupProtoPartName element defines how the UDMPartProto element "name" attribute is formed.

It uses a sequence of the <UserValue/> tags from the <ProductRevisionView/> element. Example:
<VisMockupToUDMXML>                                                                                           
	        <VisMockupProtoPartName>                                                                                    
	          <Value>PLM_ITEMID</Value>                                                                                 
	          <Separator>/</Separator>                                                                                  
	          <Value>PLM_REV_ID</Value>                                                                                 
	          <Separator>-</Separator>                                                                                  
	          <Value>PLM_PARTNAME</Value>                                                                               
	        </VisMockupProtoPartName>                                                                                   
	      </VisMockupToUDMXML>

UDMXML to VisMockup Translation Configuration

The mapping is used during the transformation from UDM XML to VisMockup PLMXML.

The optional createProductView attribute in the VisMockupTranslationRules element specifies whether to create an Occurrence tree in addition to the Instance tree. The acceptable values are: true or false (not yet implemented).

For the optional "createAllAttributes" attribute:
  • Set the "createAllAttributes" attribute to "true" to export all attributes to the PLMXML file.
  • Set to the "createAllAttributes" attribute "false" (default) to export only new and modified attributes.

The optional attribute "legacyType" of the PLMXMLElement element may be provided for legacy compatibility.

The supported value is: "Part".
  • The supported PLMXMLElement element values for mapping the UDMPartProto element are:
    • ProductRevisionViewType
    • DrawingRevisionViewType
    • ConnectionRevisionViewType
    • StructureRevisionViewBase
The supported PLMXMLElement element values for mapping the UDMPartProtoInst element are:
  • InstanceBase
  • CompositionInstanceType
  • ConnectionInstanceType
  • GDEInstanceType
  • ProductInstanceType