Hi everyone,
Did you create a VBA macro to automatically dimension a pipe? or an other object?
Have you any idea to suggest me?
Thanks a lot.
Best regards,
Paolo
Hi Paolo,
your question cannot be answered, because it is not clear what 'pipe' is and what 'automation' means to you. Please follow best practices and provide further details like a picture of desired result etc.
In the simplest case, Dimension element tool offers a basic automation, because when used, the dimension is created accordingly to selected style and element type.
Regards,
Jan
Bentley Accredited Developer: iTwin Platform - AssociateLabyrinth Technology | dev.notes() | cad.point
Pipe: Tube "a long, hollow cylinder of metal, plastic, glass, etc., for holding or transporting something, chiefly liquids or gases."
Automation means user doesn't do anything except launch the macro...and user obtain dimensions on pipe :-)
Paolo Maggiani said:Pipe: Tube "a long, hollow cylinder of metal, plastic, glass, etc., for holding or transporting something, chiefly liquids or gases."
We know what a pipe is. Jan wants you to tell us how you create a pipe in MicroStation. For some apps, a pipe might be represented by a DGN line element. For other apps an extruded ellipse or cone element might be needed. What are the DGN element types in your screenshot?
Is your screenshot from a 2D model or a 3D model — we can't tell? It's best to post a DGN file rather than a screenshot: we all use MicroStation, and a DGN example let's us understand your question better.
Paolo Maggiani said:Automation means user doesn't do anything except launch the macro
Thanks for clarifying: Automation has a special meaning when discussing VBA.
Regards, Jon Summers LA Solutions
thanks Jan and Jon.
I thought the problem waqs the word "pipe" . Excuse me for my wrong understanding.
I attached a DGN file here. :-)
Thanks a lot,
1.dgn