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

AVEVA™ Engineering

MODIFIED Function

  • Last UpdatedMay 25, 2022
  • 2 minute read

For the more sophisticated queries relating to modifications, the MODIFIED function tells you if the given element has changed since the comparison date. This function is not implemented within PML2 expressions.

Examples

To return true if element has changed at all since the comparison date use:

  

Q MODIFIED()

  

It will also return true if the element has been created since the comparison date.

To return true if POS or ORI have been modified since the comparison date use:

Q MODIFIED(POS,ORI)

To return true if the position of P1 has changed use.

Q MODIFIED(P1 POS)

You may follow each attribute name with the qualifying keywords below.

To check this element and members use:

OFFSPRING

To check all elements for which this element represents the significant one use:

SIGNIF

To check all elements for which this element represents the primary one use:

PRIMARY

To check this element and everything below (descendants):

DESCENDANTS

You can use the keywords below on their own to test for any attribute change. For example, to return true if any geometry for item or any descendants have changed use:

Q MODIFIED(GEOM DESCENDANTS)

To return true if any element for which this element is primary, has changed use:

Q MODIFIED(PRIMARY)

You may use the ‘OF’ syntax as for attributes. for example, to return true if /PIPE1 has been modified since the comparison date use:

Q MODIFIED() OF /PIPE1

You may put the new functions anywhere within an AVEVA E3D Design PML1 expression. that means. after Q/Var and within collections. For example,

Q (BUIL OR MODIFIED() OR ELECREC OF NEXT )

Command Syntax

                                   .------------------------------------.

                                  /                                      |

>-MODIFIED-(-+--attname-------|--*--DESCENDANTS--+--+-comma--+--attname--´

             |                   |               |  |

             |--DESCENDANTS--.   |-- SIGNIFICANT-|  |

             |               |   |               |  |

             |--SIGNIFICANT--|   |--PRIMARY----- |  |

             |               |   |               |  |

             |--PRIMARY------|   |--MEMBERS------|  |

             |               |   |               |  |

             |--MEMBERS------|   ‘---------------‘  |

             |               |                      |

             |               |                      |

             |               |                      |

             ‘---------------+----------------------+--+--) ---OF --id-->

                                                   |

                                              ‘-->

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in