In general, end-users manipulate scene objects using the object's transform handles in combination with mouse or keyboard
action. Your add-ins can perform the same actions, moving, scaling or rotating objects programmatically, as demonstrated by
the add-ins presented here.
Workflow, Samples and Tools
Workflow |
Related samples and tools |
Details |
Arranging selected objects in the viewport |
Python:
- GridArrangeCustom.py
- GridArrangeDialog.py
Messages:
- DIALOG_INTERPRETER_ADD
- SHOW_GRID_DIALOG
- GRID_ARRANGE
- TRANSLATE_WORLDSPACE
|
Arranges objects within a scene into a grid pattern. |
Applying geometric transforms to selected objects |
Python: Messages:
|
Adds custom "tumble" behavior to mouse buttons |
Changing object geometries |
Python: Messages:
- APPEARANCE_PARAMETER_CHANGE
|
Makes and object single- or double-sided. |
Applying transforms to the entire scene |
Python: Messages:
- TRANSLATE_WORLDSPACE
- ROTATE_WORLDSPACE
|
Assigns custom object manipulation to mouse buttons the moves and/or rotates the entire scene. |