selection......

Discussion in 'AutoCAD' started by caduser, Jul 25, 2003.

  1. caduser

    caduser Guest

    (setq sel:eek:bj(ssget '((-4 . "<OR")(0 . "circle")(0 . "Insert")(-4 .
    "OR>"))))
    (setq obj:qty(sslength sel:eek:bj))
    (repeat obj:qty
    (setq obj:ent(ssname sel:eek:bj i))


    how to separated the "circle" and "insert block"
    (setq circle1( "what to do")) base on user select object
    (setq insert1( "what to do")) base on user select object
     
    caduser, Jul 25, 2003
    #1
  2. caduser

    gert Guest

    make 2 selection sets. one with circles, one with inserts

    mfg
    gert
     
    gert, Jul 25, 2003
    #2
  3. caduser

    Michel Guest

    (setq typ:eek:bj (cdr (assoc 0 (entget obj:ent))))
    (if (= typ:eek:bj "CIRCLE")
    ............
    (if (= typ:eek:bj "INSERT")
    ...........

    caduser a écrit :
     
    Michel, Jul 25, 2003
    #3
  4. caduser

    caduser Guest

    how look like?
     
    caduser, Jul 26, 2003
    #4
  5. caduser

    caduser Guest

    how to find contents each of block or circle..
    i try to get it but still confius...

     
    caduser, Jul 26, 2003
    #5
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.