Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ P&ID

Copy Attribute Data within or between Datasets

  • Last UpdatedJan 30, 2025
  • 2 minute read

This macro is designed to copy data from a source attribute to a destination attribute as specified by the user in a mapping file (also known as a template file).

The macro can be executed using the AVEVA P&ID Macros Manager dialog. Refer to AVEVA P&ID Macros Manager.

Note:
The macro can be executed manually by the user with a command defined in the lisp routine: AVVMAC_CRDSA.

Note:
The functionality is only available to users with administrator access rights.

The macro will create a default mapping file which the user can then edit to include the required mappings.

Once the mappings are set up, use the AVVMAC_UPDDATASETS command to copy data from the source attributes to the destination attributes as defined in the mapping file.

Message displayed when AVVMAC_CRDSA is run:

Default mapping file generated by the command:

Example of a mapping file edited by a user:

The AVVMAC_UPDDATASETS command will update the attributes set as targets in the 3rd and 4th columns of the mapping file with data stored for the attributes defined as source attributes in the 1st and 2nd columns.

TitleResults for “How to create a CRG?”Also Available in