Dear Experts,
Is it possible to pop-up a alert warning on the screen while user Flips particular type of Valve like Check Valve, Gate Valve, Globe Valve (Generally Uni-directional Valve).
Dear Experts,
Is it possible to pop-up a alert warning on the screen while user Flips particular type of Valve like Check Valve, Gate Valve, Globe Valve (Generally Uni-directional Valve).
Indrajeet,
Yes it is very possible. How is the user using the flip command? Is it through the command line or using the component editor? A simple warning for any time the FLIP command is used can be done by editing the form. It would look like the below upon use of the flip command in the editor.
the file is at this location
C:\Program Files (x86)\AVEVA\Everything3D2.10\PMLLIB\design\forms\componentEditor.pmlfrm
Line 538 should be updated to the below;
button .fLIPa |Flip|pixmap "AvevaSharedIcons>ID_FLIP_COMPONENT>32" tooltip 'Swap arrive and leave points(flip)' call |!!alert.warning('YOU ARE ABOUT TO FLIP THIS ITEM') !this.flip('FLIP')|
change the text to read how you want....
you can also either query the arrive and leave of the item via the command line or run a short macro to report all valve status.
David
Thank you David.
User doing it through command line, So I want to alert warning whenever a user using FLIP command in Command Window.