Go to: Synopsis. Return value. Flags. MEL examples.
autoPlace [-useMouse]
autoPlace is undoable, NOT queryable, and NOT editable.
This command takes a point in the centre of the current modeling pane and projects it onto the live surface. This produces a point in 3 space which is returned. If the um/useMouse flag is set the current mouse position is used rather than the centre of the modeling pane.
float[] |
Long name (short name) | Argument types | Properties | ||
---|---|---|---|---|
-useMouse(-um)
|
|
![]() |
||
|
![]() |
![]() |
![]() |
![]() |
// Move the scene around a bit so the grid is no longer // centered in the view. // track -right 10; track -down 10; // Create a sphere. // string $sphere[] = `sphere`; // Reposition the sphere so that it is in the center of the // view. // float $position[] = `autoPlace`; move -relative $position[0] $position[1] $position[2] $sphere[0];