ArcLengthDimension.Create
Description:
Creates a new instance of an Arc Length Dimension element within the project.
Creates a new instance of an Arc Length Dimension element within the project.
-
documentThe document where the new Arc Length Dimension is created.
-
dbViewThe view in which the Arc Length Dimension will appear.
-
arcThe Arc of the annotation itself
-
ArcRefReference for the arc to be measured
-
IList<Reference>referencesThe segments which the Arc Length Dimension will witness.
Return Value
ArcLengthDimension
The newly created Arc Length Dimension instance, or if the operation fails.
-
References should be: at least two and intersecting the ends of the arc passed.
-
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.