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

AVEVA™ P&ID

SetPresentationUsingFluidMapValues Macro

  • Last UpdatedJan 30, 2025
  • 2 minute read

The macro controls the presentation of pipelines according to the fluid code value using a mapping file created by the user.

To set name of source mapping file, utilize user defined directive: USER_FLUIDMAPPING=<FILENMAME>. The file name in the user defined directive must be associated with a file in the project validation folder.

The character delimiter used in the mapping file is set using user defined directive: USER_MAPPINGDELIMITER=<Character>

The example displays a mapping file generated in the project validation folder.

  • The first setting is the value of the fluid code attribute of the pipelines.

  • The second setting is the line type allocated to pipelines with a matching fluid code.

  • The third setting is the layer allocated to pipelines with a matching fluid code.

  • The fourth setting is the colour allocated to pipelines with a matching fluid code.

To automatically run the macro each time a drawing is opened, set the user defined directives: USER_UPDLINEPRESENTATION=<YES/NO> and USER_RUNMACROS=<YES/NO>

To prompt the user to apply the mapping file changes, set the user defined directive: USER_MAPPINGPROMPT=<YES/NO>

The example displays a drawing with updated pipeline presentation.

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