MoveBy

bool MoveBy(this Element element, XYZ offset)

Moves an element by the specified translation vector.

Parameters

  • elementElement

    The element to move.

  • offsetXYZ

    Translation vector.

Returns: True if moved; otherwise false (null or no location).

Example

bool moved = element.MoveBy(new XYZ(1, 0, 0));