

This information is helpful when creating elements using the API. This is called the Default Type for that category. Place Door), Revit will automatically select the last-used type for that specific category (e.g. You can pass the any of the categories above to theĮlement Type Picker component to select a specific type from that category: Tag.CategoriesPicker: Allows selecting a specific tag category e.g.Annotation.CategoriesPicker: Allows selecting a specific annotation category e.g.Analytical.CategoriesPicker: Allows selecting a specific analytical category e.g.Model Categories Picker: Allows selecting a specific model category e.g.includes a few components that can help you pick a specific element type from a Revit category: Therefore the Type Family component is returning null.

Notice that Duct Systems for example, is a system type and therefore have no associated custom family definition. Place under Grasshopper User Objects folder. You can download this component, as a Grasshopper user object, from the link below. We are using a custom Grasshopper Python component ( Type Family) to grab the family of each type being passed into this component. When querying the custom types that exist in a Revit model, we can find out the custom family definition that contains the logic for each of these types. Please note that the Family Name parameter, returns the System Family name for System Types and the Custom Family name for Custom Types: Use the ElementType.Identity to access information about that type. Query Types + v1.0 component can further filter the list of types: Query Types + v1.0 component to collect types in a certain Revit category:

You can use the combination of a category picker components e.g. It is one of the most important aspects of the modeling process that is more about the Data being modeled, rather than geometry: Querying Types This guide takes you through the various Grasshopper components that help you query and create types and families. When working with Revit or Revit API, we are mostly dealing with Revit Types and Custom Families.
