Repositions the fabrication straight part to another end of the run.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 17.0.0.0 (17.0.1090.0)
Since: 2017
Syntax
| C# |
|---|
|
| Visual Basic |
|---|
|
| Visual C++ |
|---|
|
Parameters
- doc
- Type: Autodesk.Revit.DB Document
The document.
- partId
- Type: Autodesk.Revit.DB ElementId
Id of the fabrication part to reposition.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions ArgumentException | It is not a straight segment on the end in the run. -or- There are locked parts in the run. |
| Autodesk.Revit.Exceptions ArgumentNullException | A non-optional argument was NULL |
| Autodesk.Revit.Exceptions InvalidOperationException | this operation failed. |