Revit Preview Release API |
DividedSurface..::..CanBeDivided Method |
DividedSurface Class See Also |
This returns true if the reference represents a face that can be used to create a divided surface.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 19.0.0.0 (19.0.0.405)
Since:
2014
Syntax
C# |
---|
public static bool CanBeDivided( Document document, Reference reference ) |
Visual Basic |
---|
Public Shared Function CanBeDivided ( _ document As Document, _ reference As Reference _ ) As Boolean |
Visual C++ |
---|
public: static bool CanBeDivided( Document^ document, Reference^ reference ) |
Parameters
- document
- Type: Autodesk.Revit.DB..::..Document
The document.
- reference
- Type: Autodesk.Revit.DB..::..Reference
The reference.
Return Value
True if the reference can be used to create a divided surface, false otherwise.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was NULL |