Community
Dynamic Blocks Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Multiple visibilty parameters in a dynamic block

21 REPLIES 21
Reply
Message 1 of 22
mehdi-guida
840 Views, 21 Replies

Multiple visibilty parameters in a dynamic block

Hi

Is there any way to use multiple visibilty parameters in a dynamic block (by Lisp routine OR ...)?

Thank You

21 REPLIES 21
Message 21 of 22
j.palmeL29YX
in reply to: vcocoraP86VJ


@vcocoraP86VJ wrote:

...  Can be used for any number of objects within the block.

Nice!!!


Theoretically yes. But note that each additional element doubles the required number of lines in the Lookup Tables. For 8 objects 256 lines would be necessary, for 10 objects 1024 lines in each of the two Lookup Tables. IMO this is no longer practicable. 

 

 

Jürgen Palme
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 22 of 22
neil
in reply to: vcocoraP86VJ

Note that this has limitations. The extent of the xclip needs to be larger than the maximum extent of your dynamic block, and XCLIPFRAME needs to be set to 0. Also even with the XCLIPFRAME off, it still selects in the drawing. So for example the same principle is applied in the attached simplified block, and the dynamic length and depth are set to minimum, but if I cross a stretch polygon over the invisible Xclip frame it grabs the block at the maximum limits. Hence a bit quick and dirty. But way faster than double lookup.

Ideal situation would be for Autodesk to modify the visibility states process to have more than one visibility parameter, but NOT allow the user to asign entities to more than one visibility parameter. That way you could have visibility sets for more than one category. For instance, in the attached block it would be nice to have a visibility parameter for the hatch, and another one for the shapes, so they could be switched independantly.

Also left the flip grips on in this block, but my preference is to switch off and edit in properties only, since they move around.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

AutoCAD Inside the Factory


Autodesk Design & Make Report