Checks if the input profile curve is valid to create a surface of revolution in the given frame of reference.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 18.0.0.0 (18.0.0.420)
Since:
2017
Syntax
C# |
---|
public static bool IsValidProfileCurve(
Frame frameOfReference,
Curve profileCurve
) |
Visual Basic |
---|
Public Shared Function IsValidProfileCurve ( _
frameOfReference As Frame, _
profileCurve As Curve _
) As Boolean |
Visual C++ |
---|
public:
static bool IsValidProfileCurve(
Frame^ frameOfReference,
Curve^ profileCurve
) |
Parameters
- frameOfReference
- Type: Autodesk.Revit.DB..::..Frame
frameOfReference is an orthonormal frame that defines a local coordinate system for the surface of revolution.
- The frame can be "right-handed" or "left-handed".
- The origin of the frame is the base of point of the axis of revolution.
- The BasisZ of the frame is the direction of the axis.
- profileCurve
- Type: Autodesk.Revit.DB..::..Curve
The profile curve.
Return Value
True if the profile curve is valid; False otherwise.
Remarks
Exceptions
See Also