Revit 2025.3 API
Mass |
Checks if the ElementId is a mass family instance.
Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public static bool IsMassFamilyInstance( Document document, ElementId id )
Public Shared Function IsMassFamilyInstance ( document As Document, id As ElementId ) As Boolean
public: static bool IsMassFamilyInstance( Document^ document, ElementId^ id )
static member IsMassFamilyInstance : document : Document * id : ElementId -> bool
Parameters
Return Value
BooleanTrue if the ElementId is a mass family instance, false otherwise.
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
See Also