david.fannon
2007-03-04, 05:43 AM
I want to have the keyplan in a titleblock automatically update: shading in the correct building based on a shared parameter that "knows" what building I'm working on.
I have a site with 9 buildings (each in it's own file, linked to a site file) and my titleblock (used in all the files) includes a keyplan for the site. In the keyplan, each building has filled region which I'd like to turn on or off to identify which building is described in that particular file. I've got yes/no parameters in the titleblock that control the visibility of each region (e.g. "Building 1 On" "Building 2 On" etc). So I could just have users check the right box, but where's the fun in that? Based on Steve's excellent tip at http://revitoped.blogspot.com/2005/11/make-up-my-mind.html
I know I can use a "choose" parameter to pick which one (very nice tip, Steve) which is also very good, but I want to take this one more step, I want it to be automatic.
Right now I have a shared parameter driving a label for the "Building Number" (ie "1") since this is in the project information, as far as I'm concerned Revit "knows" what the building is. Now I'd like to have the parameter "Choose One" = "Building Number" so that if I have building number 1, it automatically "chooses" building one, and sets "Building 1 On" as "YES" thus turning on my filled region. A little Rube Goldberg, but I cannot seem to use the "Building Number" parameter in a formula. What am I missing?
Final caveat: My buildings are not actually numbered, they are identified by a 2-letter text suffix (like HT, LV etc) so what I REALLY want is to have the "choose one" be a TEXT parameter, and have each YES/NO parameter read something like:
Building 1 ON = Choose One =HT
But I'm pretty sure from the help that conditionals don't support text, so this whole mess might be wishlist.
I have a site with 9 buildings (each in it's own file, linked to a site file) and my titleblock (used in all the files) includes a keyplan for the site. In the keyplan, each building has filled region which I'd like to turn on or off to identify which building is described in that particular file. I've got yes/no parameters in the titleblock that control the visibility of each region (e.g. "Building 1 On" "Building 2 On" etc). So I could just have users check the right box, but where's the fun in that? Based on Steve's excellent tip at http://revitoped.blogspot.com/2005/11/make-up-my-mind.html
I know I can use a "choose" parameter to pick which one (very nice tip, Steve) which is also very good, but I want to take this one more step, I want it to be automatic.
Right now I have a shared parameter driving a label for the "Building Number" (ie "1") since this is in the project information, as far as I'm concerned Revit "knows" what the building is. Now I'd like to have the parameter "Choose One" = "Building Number" so that if I have building number 1, it automatically "chooses" building one, and sets "Building 1 On" as "YES" thus turning on my filled region. A little Rube Goldberg, but I cannot seem to use the "Building Number" parameter in a formula. What am I missing?
Final caveat: My buildings are not actually numbered, they are identified by a 2-letter text suffix (like HT, LV etc) so what I REALLY want is to have the "choose one" be a TEXT parameter, and have each YES/NO parameter read something like:
Building 1 ON = Choose One =HT
But I'm pretty sure from the help that conditionals don't support text, so this whole mess might be wishlist.