AnalyticalMember.Create
Description:
Creates a new instance of an Analytical Member within the project.
Creates a new instance of an Analytical Member within the project.
Remarks:
The curve must be bounded. The curve can be:
The curve must be bounded. The curve can be:
- Line
- Arc
- Ellipse
public static AnalyticalMember Create(
Document aDoc,
Curve curve
)
-
aDocA Revit document.
-
curveCurve of the analytical member.
-
The input curve is not bound. -or- The provided curve is not supported.
-
A non-optional argument was null
-
The document is in failure mode: an operation has failed, and Revit requires the user to either cancel the operation or fix the problem (usually by deleting certain elements). -or- The document is being loaded, or is in the midst of another sensitive process.
-
The document has no open transaction.