<Code Lib>
M

AnalyticalPanel.Create(Document, CurveLoop)

Description:
Creates a new instance of an Analytical Panel within the project.
Remarks:
CurveLoop must be planar and not self-intersecting.
Overloads (2):
Create(Document,CurveLoop)

public static AnalyticalPanel Create(
	Document aDoc,
	CurveLoop curveLoop
)

  • aDoc
    Revit document.
  • curveLoop
    CurveLoop for the Analytical Panel.
Return Value AnalyticalPanel The newly created AnalyticalPanel instance.

  • One of the following requirements is not satisfied : - curve loop curveLoop is not planar - curve loop curveLoop is self-intersecting - curve loop curveLoop contains zero length curves
  • 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.

Loading…