How to create multi assoc

Discussion in 'AutoCAD' started by Adesu, Oct 22, 2004.

  1. Adesu

    Adesu Guest

    Is it possible to create multiple assoc

    _$ (setq ename (entsel))
    (<Entity name: 14c0978> (341.588 9.82925 0.0))

    $ (setq ena (entget (car ename)))
    ((-1 . <Entity name: 14c0978>) (0 . "TEXT") (330 . <Entity name: 14bfcf8>)
    (5 . "1AF") (100 . "AcDbEntity") (67 . 0) (410 . "Model") (8 . "Text") (100
    .. "AcDbText") (10 335.24 8.75 0.0) (40 . 1.5) (1 . "FL CST 01234") (50 .
    0.0) (41 . 1.0) (51 . 0.0) (7 . "Standard") (71 . 0) (72 . 0) (11 0.0 0.0
    0.0) (210 0.0 0.0 1.0) (100 . "AcDbText") (73 . 0))

    $ (setq info (assoc ?? ena))
    (10 335.24 8.75 0.0) (40 . 1.5) (50 . 0.0) (41 . 1.0) (51 . 0.0) >>>>"if
    possible I want like this"
     
    Adesu, Oct 22, 2004
    #1
  2. Adesu

    Adesu Guest

    Sorry,I've got it

    _$ (setq info (list (assoc 0 ena)(assoc 1 ena)(assoc 10 ena)))
    ((0 . "TEXT") (1 . "FL CST 01234") (10 335.24 8.75 0.0))
     
    Adesu, Oct 22, 2004
    #2
  3. Adesu

    Adesu Guest

    Hi Tony,thanks a lot for your respond.

     
    Adesu, Oct 22, 2004
    #3
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.