Sets a new status for an existing tangent join with another curve element at the given end-point.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 17.0.0.0 (17.0.1090.0)
Since:
2017
Syntax
Parameters
- end
- Type: System..::..Int32
Index of one of the curve's ends. Values '0' and '1' indicate the start or end point, respectively.
- other
- Type: Autodesk.Revit.DB..::..ElementId
ElementId of another Curve Element from the same document.
- state
- Type: System..::..Boolean
Requested new state of the lock; True to lock it, False to unlock it.
Remarks
Exceptions
Exception | Condition |
---|
Autodesk.Revit.Exceptions..::..ArgumentException |
The given Id does not represent any of the two end-points of a curve element.
A valid value of either '0' or '1' is expected.
-or-
The given ElementId (%elementId) is not of a valid Curve Element.
A valid Curve Element must be in the same document and must be
diferent than this curve elements self.
-or-
This element has no tangent join with the input element at the given end-point.
-or-
The element other does not exist in the document containing this CurveElement
|
Autodesk.Revit.Exceptions..::..ArgumentNullException |
A non-optional argument was NULL
|
Autodesk.Revit.Exceptions..::..InvalidOperationException |
This curve element does not support tangent joins with other elements.
|
Autodesk.Revit.Exceptions..::..ModificationForbiddenException |
This CurveElement is an internal element, such as a component of a
loaded family or a group type.
-or-
The document containing this CurveElement is in Group Edit Mode,
Sketch Edit Mode, or Paste Mode, and the element is not a
member of the group, sketch, or clipboard.
-or-
This CurveElement is a member of a group or sketch, and the document
is not currently editing the group or sketch.
-or-
other is an internal element, such as a component of a
loaded family or a group type.
-or-
The document containing other is in Group Edit Mode,
Sketch Edit Mode, or Paste Mode, and the element is not a
member of the group, sketch, or clipboard.
-or-
other is a member of a group or sketch, and the document
is not currently editing the group or sketch.
|
See Also