Revit 2026 API
Part |
Checks whether a family defines a profile which can be used by this method.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public static bool CanBeDivisionProfile( ElementId familyId, Document familyDocument )
Public Shared Function CanBeDivisionProfile ( familyId As ElementId, familyDocument As Document ) As Boolean
public: static bool CanBeDivisionProfile( ElementId^ familyId, Document^ familyDocument )
static member CanBeDivisionProfile : familyId : ElementId * familyDocument : Document -> bool
Parameters
- familyId ElementId
- Element id of the family.
- familyDocument Document
- The document containing the family to be tested.
Return Value
BooleanTrue if the family defines a profile which can be used by a part maker, false otherwise.
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
See Also