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

select all entities that make up a block

  • Thread starter Thread starter paolomath
  • Start date Start date

paolomath

Guest
Good morning, everyone.

I started playing a little with lisp...

in the hypothesis of wanting to change one of the graphic objects that make up a block (lines, circles, etc.) in a programmatic way, is there someone who can give me some suggestions to select the above objects?
I do not want to use nentsel as it is because it requires me to manually select the object.

For example: to make red all lines that make up a block, how can I select these lines?

with entnext I only see the attributes of the block in practice.

Thank you, every suggestion is accepted. :smile:
 
Like gp told you, you're gonna swipe with entnext all the subentities of the block.
put a condition that intercepts the lines, a thing of the type (if (= (cdr (assoc '0 entities)) "line") .....)and then choose how to intervene
 

Forum statistics

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

Members online

No members online now.
Back
Top