How to filter walls if its instance height it greater that a Max.PotentialHeight Type parameter.

How to filter walls if its instance height it greater that a Max.PotentialHeight Type parameter.

mark.mountain
Enthusiast Enthusiast
2,790 Views
6 Replies
Message 1 of 7

How to filter walls if its instance height it greater that a Max.PotentialHeight Type parameter.

mark.mountain
Enthusiast
Enthusiast

I want to make a a filter to visually hightlight walls if the instance height is higher than a Type parameter called "Max.PotentialHeight". That way in my plans I can visually highlight if a wall has been modelled taller than its construction will allow. 

I just haven't a clue how to go about the filters or how to make a filter have one parameter compare to another. Any ideas? or is this not even possible with revit out of the box settings and I am being over ambitious? 

0 Likes
2,791 Views
6 Replies
Replies (6)
Message 2 of 7

barthbradley
Consultant
Consultant

Maybe semi-automatically this way:

 

1. Create Wall Schedule and include Unconnected Height

2. Use Filters to filter out all but the Walls which have an Unconnected Height that is greater than your Max.PotentialHeight

3. Add a Yes-No Project Parameter to Walls and include that Parameter Field in the Schedule

4. Now, manually check all the checkboxes in the Schedule.

5. Go to View Tab=>Filters and create a new Rule-Based Filter that detects the checkboxes.  

6. Apply that Filter to a View and set the overrides.  

 

Message 3 of 7

mark.mountain
Enthusiast
Enthusiast



ahh you had me till the manual check part. I'd set up similar for walls fire ratings. if a walls instance fire rating (called its "Min.RequiredFireRating" is less than the walls type fire rating (using the out of the box wall type fire parameter) then the wall will automatically be visually highlighted in plan.

filter.png

 

 

 

 

 

 

 

 

 

Fire is easy though as you have set fire requirements. 30mins, 60mins, 120 mins etc etc. So a filter was made to consider those numbers. Height is a lil different. there can be a lot more range to the maximum potential wall heights. It would be good if i could make the filter work by checking if the type height is ever lower than the instance height. but i dont thing you can do that. Just my ambition is to make it all automatic rather than introduce a manual process. 

0 Likes
Message 4 of 7

ToanDN
Consultant
Consultant

- Create a plan view with the view range cut plane at the max allowed height

- Set the view to show only walls category

- Set the walls category cut line/cut pattern to an eye popping color

0 Likes
Message 5 of 7

mark.mountain
Enthusiast
Enthusiast

Problem is different types of stud wall have different max heights.Eg more boards layers on the wall makes the wall more rigid so it can go higher. Different stud sizes means the wall can go higher. distance between studs effects how high the wall can go. Etc etc. So in plan they'll be a range of max heights for different wall types. 

0 Likes
Message 6 of 7

ToanDN
Consultant
Consultant
Because Unconnected Height parameter isn't exposed for a view filter then you need a workaround:
- Create a wall schedule for each wall type, add Unconnected Height, add Comments, Unitemized schedule so it show a single row
- Filter the schedule by Unconnected Height is greater than [enter the Max Height for that wall type)
- Select the row in schedule and enter Over limit in Comments column
- Repeat for other wall types
- Go back to plan view, add a filter for Walls category, using Comments equal Over limit, and override the filter graphic for the filter in view
0 Likes
Message 7 of 7

marcin_boguslawski24K4F
Explorer
Explorer
  1. Create a Shared Parameter called Max.Height, an Integer parameter. Revit doesn't allow to check text values against each other but it works perfectly with numbers and integers.
  2. Insert this parameter into a project and allocate it to Walls only as Type parameter.
  3. Set up a schedule that incorporates both Unconnected Height and Max.Height parameters
  4. Add a Calculated Parameter thats works like this:
    Name: Max.Height.CHECK
    Discipline: Common
    Type: Integer
    Formula: if(Unconnected Height > (MAX.Height * 1 mm), 0, 1)
    This means that if UH exceeds MH the values sets to 0 meaning no Pass, 1 means a Pass.
  5. In Schedule Properties Box select Formatting then Unconnected Height parameter in Fields, then select Conditional Formatting and set Conditions to:
    Field: Max.Height.CHECK
    Test: Equal To
    Value: 0
    Background Colour: Red
    This setup will mark in Red walls which Unconnected Height exceeds Max.Height
  6. For Filtering follow the solution above or create a graph in Dynamo that does it for you

Same goes for any other parametr like Fire Rating, Acoustic Rating etc... stop using built-in Text parameters and set up Integer based ones than you can run a self-checking schedule.

0 Likes