PDA

View Full Version : Valve Automatic Information Input



HybridAWD
10-19-2006, 07:54 AM
What I would like to accomplish with this task is to find a way to have the "area" field under valves automatically populate with the area it is placed.
For example, if I place a valve on P&ID 7103, it will be in the 7100 area.
Is there a way I can write something that will automatically populate that
field so I wont have to go back and manually fill that data in?

Also, under the Pipe Drawing, I was wondering if it would automatically fill that in with the line number it is places on. This would help me out when looking at my reports to know which pipe it's actually placed on.

I have attached a picture of what the dialog box looks like when i CATT on a valve. The fields to be populated is "Area" and "Pipe Drawing".

Area update is what is currently displayed
Area update 1 is what I would like to be automatically input.

PeterJ
10-19-2006, 12:50 PM
AutoPLANt registers automatically the connection between a valve and the run (or runs) it is placed in. Check the second tab in the catt command.
On database level the table RUN_CONN stores the link between valve and run (valve-keytag and run-id). In the pipe-run table you can find the keytag of the process line through the line-id field.

PeterJ
10-19-2006, 01:08 PM
Taking over the area-code from document to an object is perfectly possible.
I've done that (and more complex stuff) for a number of clients. However since that was done at a cost I cannot give that knowledge away for free.
You can subscribe to an Administrator training to learn how to do these customizations or contact me or another consultant to develop this for you.

dave
10-19-2006, 10:18 PM
Also, under the Pipe Drawing, I was wondering if it would automatically fill that in with the line number it is places on. This would help me out when looking at my reports to know which pipe it's actually placed on.

Your default valve list view will have the line and run number the valve is attached to.