Validates curve to be added to the view-specific shape being constructed. Called by AddCurve() to validate input. Expects a valid view normal to be set prior to the call.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public bool ValidateCurve( Curve GCurve )
Parameters
- GCurve Curve
- Curve object to be validated.
Return Value
BooleanTrue is %GCurve% is acceptable as a part of view-specific shape representation being built.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |