I have a script that gathers all tagged rooms and creates filled regions based off of room boundaries. When run in this specific project, none of the filled regions show up. It works fine in other models. Not sure what is preventing this. Could it be that somewhere the rooms may have lines too small to draw? Would that not yield an error?
Seems like the regions are being created as they are receiving an element ID; we just arenât viewing them in the display. As such we need to do the usual âwhy canât I see thisâ exercise. Some things to try:
Select one via the Element Id and see what view it is in.
Disable all view templates and design options.
Check if it is on a workset which is disabled of not displayed.
Make sure you can manually create a filled region in the view.
Itâs just one view, and itâs a floorplan view. It works fine in other models, so really not sure why it doesnât show the regions here. The first time I tried selecting it with a view template on and view uncropped, it tried to find a filled region in the view, but went to blank space.
My use case is designating different hazard zones/types with different filled regions (also have a legend view on my sheets) based on the room type (storage, electrical, etc.). Never really experimented with room color schemes, but filled regions are easily adjustable if there are any shifts in a model, and can easily be changed by type.
Please look into room colour schemes. Rather than be âeasily adjustableâ, rooms and their bounding components are automatic in their adjustment.
You can create a room colour scheme based on any parameter available to rooms. So if you need to make a hazard zone parameter and associate it to rooms, do that for example:
The regions in my script are placed and categorized into different hazard levels based on the room name itself. Is that possible to automate or are you saying you have to manually select each one?
Yes definitely possible, just collect all rooms, filter by room name then set your Hazard Level parameter appropriately based on room name. Then use your colour scheme based on hazard level param