TheSwamp

CAD Forums => CAD General => Dynamic Blocks => Topic started by: Mirko on December 16, 2015, 02:21:26 PM

Title: Multiple visibility states
Post by: Mirko on December 16, 2015, 02:21:26 PM
Hi everybody,
I'm writing my firs post :)
Someone is able to explain me, step by step how to use this?
http://www.private.peterlink.ru/poleshchuk/cad/2009/tainypod12e.htm (http://www.private.peterlink.ru/poleshchuk/cad/2009/tainypod12e.htm)
Because I've creted a complicated dynamic block, and to make it able to work, I must create many visibility states...fortunately on the internet I found this lisp:

(http://s8.postimg.org/5vl5gfh4l/Screenshot_1.png)

I think this would save me a lot of time...but I'm not able to use it... :(
Thank you
Title: Re: Multiple visibility states
Post by: mjfarrell on December 16, 2015, 02:27:35 PM
first good work finding The Swamp!


second,


you do not need to use that LISP

open block editor and assign visibility states as desired...

a key point LEAVE everything visible as you create each state

AND THEN

set each state current and adjust/add items that should be visible or NOT to each state....
Title: Re: Multiple visibility states
Post by: Mirko on December 16, 2015, 02:54:56 PM
Hi mjfarrell thank you,
I've creted the dynamic block with the visibility states....I'll explain...I would like to create a block like this...:
https://forums.autodesk.com/autodesk/attachments/autodesk/154/16561/1/Multiple%20Visibility%20States.dwg (https://forums.autodesk.com/autodesk/attachments/autodesk/154/16561/1/Multiple%20Visibility%20States.dwg)
I already have all the visibility states cobinations, but I don't know how to add the lookup control ...and so I've founded the lisp...
Title: Re: Multiple visibility states
Post by: mjfarrell on December 16, 2015, 03:05:58 PM
from what I can see there is no 'look up' control on that block, only visibility states...

EDIT - yes there is a look up table in that block you linked to,however it does not appear to function without using properties dialogue

what do you want your block to do actually?
Title: Re: Multiple visibility states
Post by: mjfarrell on December 16, 2015, 03:10:48 PM
look here:  http://www.theswamp.org/index.php?topic=18535.0
Title: Re: Multiple visibility states
Post by: ChrisCarlson on December 16, 2015, 04:24:13 PM
Holy moley, I could not imagine the number of look up table lines in that block. Basically every option or view is it's own visibility state.
Title: Re: Multiple visibility states
Post by: mjfarrell on December 16, 2015, 04:29:14 PM
Holy moley, I could not imagine the number of look up table lines in that block. Basically every option or view is it's own visibility state.
It is interesting to say the least...

although I am reminded of this

"Just because you can, never means you should"
Title: Re: Multiple visibility states
Post by: Mirko on December 18, 2015, 01:08:38 PM
Okay in this days I've tried, I've started to made it whit the lookup table. Sforunately I've to create 315 visibility states :(...
Title: Re: Multiple visibility states
Post by: mjfarrell on December 18, 2015, 02:12:58 PM
Okay in this days I've tried, I've started to made it whit the lookup table. Sforunately I've to create 315 visibility states :(...
or you need other blocks....

why make it that complicated?
Title: Re: Multiple visibility states
Post by: Mirko on December 18, 2015, 04:04:26 PM
I've thinked that, but in this dynamic block I've some data field inserted, and so I would have to redefine 8 blocks for each data field... :-o :-o

I've just vrited here: http://www.theswamp.org/index.php?topic=50645.0 (http://www.theswamp.org/index.php?topic=50645.0) maybe someone has an idea...

Thank you!
Title: Re: Multiple visibility states
Post by: lamarn on December 18, 2015, 05:30:53 PM
There  is Revit which has a lot more options to get smart ass families. I just use other ones..