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.1.0.0 (26.1.0.34)
Syntax
C#
public static bool CanBeDivisionProfile( ElementId familyId, Document familyDocument )
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.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |