Grasshopper API
GH_DocumentTranslateObjects Method |
Offset objects by a certain distance in X and Y
Namespace: Grasshopper.Kernel
Assembly: Grasshopper (in Grasshopper.dll)

public void TranslateObjects( Size trXForm, bool bLimitToSelection )
Public Sub TranslateObjects ( trXForm As Size, bLimitToSelection As Boolean )
Parameters
- trXForm
- Type: System.DrawingSize
Translation vector - bLimitToSelection
- Type: SystemBoolean
If True, only selected objects are affected
