AreaReinforcementMoveLine Method |
This method applies the translation to the line from the desired layer, at the specified position.
If the line was already moved, the method will concatenate the translation with the existing movement.
The line will be translated only along the direction of the specified layer.
Namespace: Autodesk.Revit.DB.StructureAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic void MoveLine(
XYZ translation,
AreaReinforcementLayerType layer,
int linePositionIndex
)
Public Sub MoveLine (
translation As XYZ,
layer As AreaReinforcementLayerType,
linePositionIndex As Integer
)
public:
void MoveLine(
XYZ^ translation,
AreaReinforcementLayerType layer,
int linePositionIndex
)
member MoveLine :
translation : XYZ *
layer : AreaReinforcementLayerType *
linePositionIndex : int -> unit
Parameters
- translation XYZ
-
The translation vector.
- layer AreaReinforcementLayerType
-
The layer on which the line stays.
- linePositionIndex Int32
-
The index of the line from the desired layer. It should be an index between 0 and (NumberOfLines-1).
Exceptions
See Also