BIM Software Tip: How to Add a “Yes/No” Parameter to a Revit Type Catalog
Recently, while creating a window family, I encountered the need to include a “Yes/No” parameter in the type catalog. Previously, when adding parameters to the type catalog, we mainly focused on length-type parameters to define family types (for a basic introduction to type catalogs, please refer to related articles on the blog).
For those familiar with type catalogs, you know that the required parameter format is: Parameter Name##Type##Unit. But how do we define a “Yes/No” parameter in this format?
After some research, I found that all “Yes/No” parameters should be defined as type Other, and the unit field should be left blank. But how do we specify the value? This uses a common binary logic found in basic programming languages: 1 represents yes (true), and 0 represents no (false). So, that’s how you write it!
Below is an example table of contents for type parameters I defined, for your reference:
Width##length##millimeters,
Height##length##millimeters,
Vis – Window Board##Other##,
Vis – Top Hung##Other##,
Vis – Side Hung##Other##,
Vis – Cavity Closers##Other##,
Vis – Bttm Hung##Other##
And here is an example of a type entry:
910x910mm_dp_Bttm_Hung,910,910,1,0,0,1,1














Must log in before commenting!
Sign Up