Add Existing Drawing Objects to Block Definition

Discussion in 'AutoCAD' started by dmccarns, Jul 11, 2003.

  1. dmccarns

    dmccarns Guest

    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.
     
    dmccarns, Jul 11, 2003
    #1
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.