Showing results for 
Search instead for 
Did you mean: 

Help Required!

Valued Contributor
Valued Contributor


I need to know if it is possible to do? Also what programming functions in VB I should

be using to achieve the desired outcome?


At the company where I work we create Piping and Instrument Diagrams. We use blocks

from libraries with a standard set of block properties applied.

What we want to be able to do is when we drag a block from the library to SE the

program prompts for a name for that block (unique to just this object) i.e. "valve

1" and also prompts for all the data relating to the individual object’s properties

i.e. type, supplier, material, etc. once the known valve properties has been entered

(even if a “property value” is not entered the “property name” is still created

with a blank value), the user places the block onto the diagram it automatically

writes the data to the block properties and creates a new block definition in the

active document called "valve 1".


To make the problem even more complicated we the want the block properties to be

linked to an excel spreadsheet. So once the diagram is complete we can automatically

generate a valve list.

Also if changes are then made to the valve list it then updates back to the P&I



Any help/advice would be greatly appreciated

Thanks in advance


Ralph Yorke


Posted by: Ralph Yorke
Post date: 4/8/2009 11:34:10 PM