• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

store attributes values

  • Thread starter Thread starter fabr
  • Start date Start date

fabr

Guest
Good morning to all are fabrizio
my problem is that I can't with a lisp to "take" within a block the different (about ten) values of attribute. the difficulty lies in the fact that the coordinate I have available to select is bet on the last attribute and I have no way to change it.
Thank you in advance ... I hope to have been clear !!!
Hello everyone
 
see if this can help you.
the function (listaatt) returns a list with 1st block name element and to follow the attributes, all for each selected block.

bye
 

Attachments

see if this can help you.
the function (listaatt) returns a list with 1st block name element and to follow the attributes, all for each selected block.

bye
I'm sorry... but I'm a bit of a pig! And now how do I extract the attributes? assoc ....
 
(setq list)
(setq l1 (nth 0 list)
(setq l2 (nth 1 list)
...etc.
or do a cycle (length list)

(nth 1 l1): Article
(nth 2 l1): 2nd element
... etc...
or do a cycle (length l1)

bye
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top