Attribute information Selection Sets

Discussion in 'AutoCAD' started by Mark Douglas, Aug 24, 2004.

  1. Mark Douglas

    Mark Douglas Guest

    Im trying to write a bit of code and got stuck with attribute information.
    Im wondering how do you get a selection set of a attributes information? We
    have a block called BUBBLE that has information like 1. And another that has
    2 & another that has 3. And so on. Is it possible to get a selection set of
    ALL the BUBBLE blocks with a attribute information of 1? What we want to do
    is get this selection set to run the GATTE on them to modify all their
    values to what we want? Does anyone know if this is possible?

    Thanks for any help!!!

    Mark
     
    Mark Douglas, Aug 24, 2004
    #1
  2. You won't be able to do this with a single call to
    (ssget) if that is what you are thinking. You can
    use dxf code 66 to at least filter for attributed
    inserts, then step through the selection set testing
    each insert for the desired values.
     
    Jason Piercey, Aug 24, 2004
    #2
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.