Good day to all AUTOCAD VBA MASTER
Bad news I'm a new in VBA ( So please help me to finish this project)
i have a block in model space and a single line.
question: How i can extrude this block?, the height of extrusion is the length of the line?
Using VBA
Please if can provide sample form and codes
thank you very much
Extruding a entity (line, circle...) is to create an AcadExtrudedSurface.
In your case, I'd imagine that you need to extrude all the entity in the block definition, thus all the block references to that block definition would be updated afterward.
However, it is unfornate that there is not way via AutoCAD's COM API to create AcadSurface and AcadExtrudedSurface, thus, you cannot archieve your goal with VBA code.
Norman Yuan