In this section you will find out intermediate level information about PML/PML2.
Such concepts like variable, arrays, forms, collection, loop and etc. Just start reading…
This manual is for those who are using
Aveva PDMS in their day-by-day work and wants to know the system deeper and automate work to make system do whatever they wants.
This is for the starters, who don’t know about programming at all and for beginners, who can already do some simple tasks.
Let’s get started!
Here you can find few PML macros, just for studying.
Software Customization Reference Manual referenced to it.
Its was originally published at http://support.aveva.com but it is hidden now, by some reason.
Link to download achieve.
In this post I will explain how is possible to create Pseudo attribute, that will be evaluated, from expression you entered into other attribute.
Pseudo attribute allow for dynamic values to be returned as needed rather than having static values stored in the database.
The code required to return a pseudo attribute value must be plugged in through the use of the C# API.
This macro may be used to find out, what END is closer to PANE (or all other types) that is intersects SCTN.
We use clash tool, to find out at what point we have collision and than check which end is closer to it.
Usually we need text in 3D model for explanation of structural blocks.
Usually when user haven’t properly exit from Aveva Pdms, they leave phantom users in the system or claim some elements.
Customers sometime require flow arrows in Review model, exported from Aveva Pdms \ E3D, to indicate flow direction.
If we need to calculate sum of array members,
we don have such method in standard functionality. Also we don’t have ability to create array with n-th members only have to push them manually with loop. Continue reading Sum of array members using pml