EXTERNAL-MAP statement - CADWorx - Help

CADWorx Plant

Language
English
Product
CADWorx
Subproduct
Plant
Search by Category
Help
Smart Isometrics Version
8
Spoolgen Version
10
CADWorx Version
20.2
CADWorx Structure Version
4.2

Contains the mapping between the external data source and the item in the POD file.

Basic Syntax:

<EXTERNAL-MAP Name='Attribute' ExternalName='Field' Value=’Constant’/ >

  • Name identifies the name of the attribute to set.

  • ExternalName specifies the field in the external data that contains the value to copy.

  • Value defines a constant value to be assigned to the attribute. The Value entry is ignored if an ExternalName entry is included.

In the example below, the contents of the Schedule field are copied to COMPONENT-ATTRIBUTE1.

<EXTERNAL-MAP Name="COMPONENT-ATTRIBUTE1" ExternalName="Schedule" />

In the next example, COMPONENT-ATTRIBUTE1 is set to ABC:

<EXTERNAL-MAP Name="COMPONENT-ATTRIBUTE1" Value="ABC" />

Best Practices

Example 1:

You can use the EXTERNAL-MAP statement to apply attribute values to the current spool. To do so, you must create a <SPOOL> section and use a criteria expression to select only spool identifiers. An example is shown below:

You can use the INFORMATION element to write data to the <PIPELINE>, <COMPONENT>, or <SPOOL> that owns the information element. This allows the information element to write to its parent pipeline, component, or spool.

Example 2:

You can use POD tags inside any PIPELINE element to configure the GED function to update the attributes of the POD object to which the pipeline belongs. An example of the basic syntax is shown below.

For example, you can override the default project settings of the plant and tool signatures using the POD attributes SPF-PLANT-OVERRIDE and SPF-SIGNATURE-OVERRIDE within a PIPELINE element. When these two attributes are set, the GED function uses the values contained in the external data source rather than the project level attribute settings. This functionality is useful for automated publishing to multiple plants.

  • In I-Configure, use SmartPlant Foundation Plant and SmartPlant Foundation Signature to define the project defaults for the plant and tool signature settings.

  • EXTERNAL-MAP statements in the POD tag apply only to POD attributes.