Connections in import and export
General
During import and export, connections to other objects can be defined.
Connections in import
If an object (e.g., model or drawing) is imported and simultaneously linked to another object (e.g., item), and the import file does not specify the revision, the link will default to the latest revision.
Example:
Link the imported object (e.g., item) to the latest revision of the drawing (10041):
field name: DRAWING.DEFAULT.LINK_BYCODE
field value: 10041 (=Drawing identifier)
Connections in export
If an object is to be linked to a specific revision during import, the keyword must include the extension #EXTVCID, and the field value must include the version number separated by a # symbol.
Example:
Link the imported object (e.g., item) to revision 2 of the drawing (10041):
field name: DRAWING.DEFAULT.LINK_BYCODE#EXTVCID
field value: 10041#2
Example:
Link the imported object (e.g., item) to revision 0 of the document (D10041):
field name: 0000000001.DEFAULT.LINK_BYCODE#EXTVCID
field value: D10041#0
Similarly, you can link the object to other object types:
Product name: PRODUCT.DEFAULT.LINK_BYNAME
Product code: PRODUCT.DEFAULT.LINK_BYCODE
Project name: PROJECT.DEFAULT.LINK_BYNAME
Project code: PROJECT.DEFAULT.LINK_BYCODE
Customer name: CUSTOMER.DEFAULT.LINK_BYNAME
Item code: ITEM.DEFAULT.LINK_BYCODE
Model code: MODEL.DEFAULT.LINK_BYCODE
Drawing code: DRAWING.DEFAULT.LINK_BYCODE
Document code: 0000000001.DEFAULT.LINK_BYCODE
Connections in export By default, Flow does not export information about all related objects.
This is because there can be a significant number of related objects, and not all connections are desired to be exported. However, if the user wants to export information about all related objects, the following keyword should be set:
Keyword
pdm.export.alllinks = true
With this setting, all related objects will be written to the transfer file during the export, regardless of the number of connections.