PDA

View Full Version : Copy (Like Paintbrush) Feature



HybridAWD
07-25-2007, 12:19 PM
So how nice would it be to have a feature that the following would happen:

You have been requested to change the insulation on 20 process lines... they all need to go from 0" to say 2".

Now you would be able to select the paintbrush feature, select any process line with the proper insulation.

At that time you would be prompted to choose which field (one or multiple by using CTRL+Click) you would like to copy.

Now that they are copied, you can go around changing all the process line insulation (or other fields) by just selecting the lines needed.



Somebody write and make something to make my life easier :)

Data Wrangler
07-25-2007, 12:27 PM
http://www.davetyner.com/forum/showthread.php?t=346

?

dave
07-25-2007, 01:45 PM
Yeah I was going to say. I've used PeterJ's tool (for equipment and instruments) and it worked like a charm. I am sure you could mod it for piperuns.

HybridAWD
07-25-2007, 02:18 PM
Oh sweet... I'll see if I can make it work for process lines if I get a chance.

PeterJ
08-08-2007, 09:10 AM
Attached file has a new version of my pidcopy command. When selecting a process, it will prompt if you want to copy process or run data.

The routine uses the pidcopy table (see example in zip). This table has to be present in projdata or schema, and must be registered for use in P&ID.
It now also has a field called 'copy'. Only records that have T in that field will be copied. This allows for changes in list of copied fields without having to remove them from the table.

Good luck with it and get back to me with any questions.
:D