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

dynamic block with visibility conditioned

  • Thread starter Thread starter Maxweb
  • Start date Start date

Maxweb

Guest
Good morning, I would like on a dynamic block to show or hide a line only if a linear parameter, within the block, is greater than a certain value.

e.g. a rectangle with a median axis. if the width of the rectangle is greater than 10 shows the line if it is lower hide the line.

I would like to do this by the vba-free block editor.

can you tell me if it is possible and possibly how?

thanks and greetings.

Maxweb
 
you have to create two linear parameters one for the width of the rectangle the other for the shift of the axis, then two actions one of the iron applied to the rectangle and a move action for the axis, then, a visibility control to have two states turned on and off for the axis, finally, dynamic control where you check the values by iron and move and, depending on these, the parameter visibility to make the axis appear or not. you are not sure to hide the grip of dynamic control within the visibility states otherwise you do not find it when using the block.
 
Thanks gelyparis, the explanation is clear.... now I try to put it into practice since with dynamic controls I am not yet experienced.

Thank you very much
 

Forum statistics

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

Members online

No members online now.
Back
Top