PML Assign/Accept Rules
- Last UpdatedJan 19, 2024
- 1 minute read
PML functions can be used as a rule to assign clash discipline or accept clashes. Create a rule for a given discipline/status and assign the following values:
Item - @general
Attribute - @pml
Value – PML syntax which returns a Boolean true/false value
The following variables can be used in the PML syntax, to be replaced by their actual values when executing the rule:
%1 – Clash element 1
%2 – Clash element 2
%level – Clash level
%type – Clash type
An example function has been provided to demonstrate use of these values: !!approvePipeSupportRule(%1,%2,%level,%type)
This function is intended to provide a way to approve clashes between a pipe and its own support elements. The function will return true if one of the clash elements is a member of a pipe, and the other clash element is part of a support in that pipe's connected support list.
