Identifies if provided sketch plane is valid.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public static bool IsValidSketchPlane( Document document, ElementId sketchPlaneId )
Parameters
- document Document
- The document.
- sketchPlaneId ElementId
- SketchPlane ids to be tested for validity for PartMaker.
Return Value
BooleanTrue if SketchPlane valid, false otherwise.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |