Returns a curve that corresponds to this edge as oriented in its topological direction on the specified face.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public Curve AsCurveFollowingFace( Face faceForDir )
Parameters
- faceForDir Face
- Specifies the face, on which the curve will follow the topological direction of the edge.
Return Value
CurveIt can be an Arc, Line, or HermiteSpline.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when the specified faceForDir is null. |
ArgumentException | Thrown when the specified faceForDir is not one of the faces for this edge. |