MultiSegmentGrid.Create
Description:
Create a MultiSegmentGrid element from the specified curve loop.
Create a MultiSegmentGrid element from the specified curve loop.
Remarks:
For each curve in the curve loop, a corresponding Grid will be created.
For each curve in the curve loop, a corresponding Grid will be created.
-
documentThe document in which to create the MultiSegmentGrid.
-
typeIdElement id of a GridType element.
-
curveLoopAn open curve loop consisting of lines and arcs.
-
sketchPlaneIdElement id of a SketchPlane for the curves elements that will be created from the curveLoop.
-
The element id should refer to a valid horizontal SketchPlane. -or- The element id should refer to a GridType element. -or- The curve loop should be an open loop consisting of lines and arcs.
-
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).
-
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.