AreaReinforcement.MoveLine
Method
Description:
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.
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.
Syntax
public void MoveLine(
XYZ translation,
AreaReinforcementLayerType layer,
int linePositionIndex
)
Parameters
Parameter | Type | Description |
---|---|---|
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). |
Return Value
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |
ArgumentOutOfRangeException | linePositionIndex is not in the range [ 0, NumberOfLines-1 ]. -or- A value passed for an enumeration argument is not a member of that enumeration |
InapplicableDataException | The layer layer isn't active. |
InvalidOperationException | This AreaReinforcement does not host Rebar. |