- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi All
I'm hoping someone can help me out with this dynamic block for a bathroom layout. I have multiple sub-blocks that have visibility states within this main layout bathroom block. I know there are other sub-block in this main block but the sub-blocks that I would like to focus on are the toilet and shower. Here are the things I'm trying achieve with this block.
1. Have separate visibility parameters for the toilet block and the shower block that show their own drop down menus and work independently from each other.
2. Have the main bathroom block rotate and/ or flip with all of the sub-blocks doing what their supposed to do with their visibility parameters. (This is not a problem to do as I know how to rotate and flip a block.)
I found the lisp routine, visibility-add-eng_1_6.lsp, from this forum that lets you add multiple visibility parameters. I was able to figure how to add a second visibility parameter but I'm not understanding the lookup table part. I can toggle between my floor mounted toilet and wall mounted toilet but when I do I see all of the shower options on top of one another. When I toggle between my shower options, I still see all of them (curb, curbless and tub) on top of one another and my toilet block shows both toilet options.
So my questions are:
1. How do I get the toilet and the shower blocks to function separately with their visibility as if there was only one sub-block in my main block?
2. When I set the visibility for the toilet, do I select the shower options to not show and vice versa for the shower?
3. Does this multiple visibility parameter function work with more than 2 visibility parameters? If it can, once I get the toilet and shower doing what I want I would like to add my towel bar and medicine cabinets but I need to adjust those blocks to the sizes I want first.
I'm attaching my drawing here as well as the lisp that I'm using. This is the first layout of about 10 that I need to do so any help is greatly appreciated.
Solved! Go to Solution.