Author Topic: More than one Visibility State in a Block  (Read 13040 times)

0 Members and 1 Guest are viewing this topic.

James Cannon

  • Guest
More than one Visibility State in a Block
« on: May 28, 2009, 10:45:42 AM »
Currently it only lets me have one visibility state in a block.

PLEASE tell me there is some way to work around this?

The example I have is basic.  I have a 6"-nominal wall in plan consisting of 3 lines, (2)extents + (1)centerline, each 1" long.  Stretch parameter let's me make the wall longer.

At the end of those 3 lines are 3 more lines.  a 6" line extending each of the wall-extents line, and a 3" line extending the centerline.  I have a visibility state that allows me to turn on-or-off each of the 6" extensions.  Turning off one extension leaves a 45%%d miter to the wall (left or right) for instersections.  Turning off both of those extension lines creates a "Tee" situation.

Now... I'd also like to be able to add a SECOND visibility state for various hatchings.  I want to be able to add insulation batting, solid hatch for fire-rated walls, or other misc. hatches for special scenarios such as 'gas tight' or 'fire resistant' walls.

Is there any way to have separate Visilbity states to control that?

Matt__W

  • Seagull
  • Posts: 12955
  • I like my water diluted.
Re: More than one Visibility State in a Block
« Reply #1 on: May 28, 2009, 10:54:26 AM »
You can probably accomplish it with a LOOKUP TABLE.  I messed around with them a while ago - I'll have to check if I have those blocks again.
Autodesk Expert Elite
Revit Subject Matter Expert (SME)
Owner/FAA sUAS Pilot @ http://skyviz.io

Matt__W

  • Seagull
  • Posts: 12955
  • I like my water diluted.
Re: More than one Visibility State in a Block
« Reply #2 on: May 28, 2009, 10:58:30 AM »
Couldn't find the block, but found this thread.

http://www.theswamp.org/index.php?topic=18535.0
Autodesk Expert Elite
Revit Subject Matter Expert (SME)
Owner/FAA sUAS Pilot @ http://skyviz.io

James Cannon

  • Guest
Re: More than one Visibility State in a Block
« Reply #3 on: May 28, 2009, 11:06:50 AM »
Couldn't find the block, but found this thread.

http://www.theswamp.org/index.php?topic=18535.0

Yea I was reading through that... Saw Cory's post in the Autodesk Discussion Groups helping someone else with a similar issue, and eventually linked back to that thread... but I guess I had trouble following it's logic or seeing how it'd fit for my example.

I'm very inexperienced with the Lookup dealio, so I'll start reading about it and trying some things and find out.

Matt__W

  • Seagull
  • Posts: 12955
  • I like my water diluted.
Re: More than one Visibility State in a Block
« Reply #4 on: May 28, 2009, 11:09:43 AM »
Can you post what you have now and also what you want to include in the block?  I _think_ I understand what you want to do but....
Autodesk Expert Elite
Revit Subject Matter Expert (SME)
Owner/FAA sUAS Pilot @ http://skyviz.io

James Cannon

  • Guest
Re: More than one Visibility State in a Block
« Reply #5 on: May 28, 2009, 11:18:57 AM »
Can you post what you have now and also what you want to include in the block?  I _think_ I understand what you want to do but....

Shinyhead

  • Guest
Re: More than one Visibility State in a Block
« Reply #6 on: May 28, 2009, 11:54:12 AM »
OK, the basics of this are that you will need to create a visibility state for every combination you want to show.  Also create a visibility state for each catagory of states (i.e. hatched, not hatched). 
Then create a lookup table that points to the "catagories" (i.e. hatched, not hatched, etc)
This will point to the  "root" visiblity states your created.
In these root visibility states you will have a lookup table in each that points to all the visibility states you want to be able to select from for that catagory.
Do that for each catagory and then go back and delete only the grip for your visibility state action.

it will be easier to learn to use bvshow and bvhide at the command line to manage visibility for objects then the hide show buttons.

Its confusing at first, but not too hard.

James Cannon

  • Guest
Re: More than one Visibility State in a Block
« Reply #7 on: May 28, 2009, 12:01:47 PM »
After looking through the help file on 'lookup parameter' and seeing how Mr Cory's example block worked in the thread Matt linked...

...I see how to do it.

I currently can think of 3 possible hatchings, maybe 4, so combined with 4 end-wall-treatments (not counting the "ALL SHOWN" I always put in my blocks) that's gonna be a PITA to make.

BUT.  It will be worth it in the end, I think, and I currently have some time to spend making the block.

Thank you Shiny, Matt, and (even in absence) Cory.

Shinyhead

  • Guest
Re: More than one Visibility State in a Block
« Reply #8 on: May 28, 2009, 12:03:57 PM »
Heres a pretty simple version of how I do it.

James Cannon

  • Guest
Re: More than one Visibility State in a Block
« Reply #9 on: May 28, 2009, 12:59:56 PM »
I'm losing it.

I had everything set up.

I have the lookups set up.

The execution fails though.

I can't see how to be able to make one Lookup be "left / right / end / tee" and the other be "solid / ansi31 / insulated / no hatch" and have it somehow add those together to make "Left - Solid" or "End - Insulated" from the 2 Lookup selections.


Block progress attached:

Shinyhead

  • Guest
Re: More than one Visibility State in a Block
« Reply #10 on: May 28, 2009, 01:54:30 PM »
OK, you can't "stack" the visibility states, rather you have to use them so that you select one first, then the next.

I see what you mean by a single state, for what your after, that is your limitation.

lookup tables are an "OR" not an "AND"

you would have to have one table (say for the hatching) that the user selects,
THEN they would select the configuration options.
you need to reference a seperate state for every combination.


James Cannon

  • Guest
Re: More than one Visibility State in a Block
« Reply #11 on: May 28, 2009, 02:19:22 PM »
I'm not sure what you mean, I guess... rather, I'm not sure how to do what you're telling me.

I have a separate visibility state for every combination.

I am just not sure how to make it choose between them, I guess.

Shinyhead

  • Guest
Re: More than one Visibility State in a Block
« Reply #12 on: May 28, 2009, 03:10:29 PM »
OK,
Lookup one lets say should be the type of wall
Left hand, right hand, T, end.

This will point to 4 specific vis states.
visible in each is another lookup table.

this set of sub tables will each have an entry for fire rates, ansi 131, insulated, no hatch.
These point to the specific visibility state for that combination.

James Cannon

  • Guest
Re: More than one Visibility State in a Block
« Reply #13 on: May 28, 2009, 03:15:05 PM »
OHHHHHHH

I get it now.

I had the totally improper assumption about the lookups.  I didn't realize there were NESTED lookups.  I had only two lookups total.

Now I realize what wasn't clicking.  Thank you so much for the explanation!

Shinyhead

  • Guest
Re: More than one Visibility State in a Block
« Reply #14 on: May 28, 2009, 03:21:51 PM »
GREAT

I got desperate enough to get you started.

This covers left hand and right hand, you just need to keep it going for T and end wall