Block Descripton

Discussion in 'AutoCAD' started by alexshein, Feb 12, 2004.

  1. alexshein

    alexshein Guest

    Does anybody know the way to access Block_Description (DXF group 4) by means of ActiveX? I'm working on routine finding a detail block by matching a Search_ String to Block_Name or Block_Description string.
     
    alexshein, Feb 12, 2004
    #1
  2. Don't think that is possible. I don't see any properties
    or methods that could be used.

    --

    -Jason
    Member of the Autodesk Discussion Forum Moderator Program


    I'm working on routine finding a detail block by matching a Search_ String to Block_Name
    or Block_Description string.
     
    Jason Piercey, Feb 12, 2004
    #2
  3. alexshein

    ECCAD Guest

    Try looking up the blockname in the "blocks" table.

    Bob
     
    ECCAD, Feb 12, 2004
    #3
  4. alexshein

    Jeff Mishler Guest

    Could you use a filtered selection set?
    (ssget "x" (list '(0 . "INSERT")(cons 2 name_string)(cons 4
    desc_string)))

    Jeff

    means of ActiveX? I'm working on routine finding a detail block by
    matching a Search_ String to Block_Name or Block_Description string.
     
    Jeff Mishler, Feb 12, 2004
    #4
  5. alexshein

    alexshein Guest

    Call me capricious, but I don't like LISP and ActiveX methods mixed-up together in the same program. So far I found it easy to access description via DXF 4 and detail name via TextString property. But to use them together? YAK!!!
     
    alexshein, Feb 12, 2004
    #5
  6. Not sure what version of AutoCAD you are
    running but, 2004 seems to have resolved the
    issues of hybrid code crashing the system. At
    least the examples provided by Stephan Koster
    that would crash the system (in a heart beat)
    before behave properly now.

    --

    -Jason
    Member of the Autodesk Discussion Forum Moderator Program


    together in the same program. So far I found it easy to access description
    via DXF 4 and detail name via TextString property. But to use them together?
    YAK!!!
     
    Jason Piercey, Feb 13, 2004
    #6
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.