Add Existing Drawing Objects to Block Definition

dmccarns

Usenet Archive
Joined
Jul 11, 2003
Messages
1
Reaction score
0
Hopefully everyone had a good 4th.

I need to know if anyone has had any luck with creating a new block definition:
(vla-add (vla-get-blocks *AcDoc*) (vlax-3D-point 0 0 0) "BlockName")

Then was able to create a filtered selection set of objects and pass each entity in the selection set to the newly created block definition.

So the function would work like this:
1. create block def
2. create ss of objects in drawing
3. parse ss and add each ent to block def

Thank you in advance.
 

Latest threads

Back
Top