Message 1 of 3
CommandDefiniton.execute(input) - How does it work ?

Not applicable
08-28-2019
12:03 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everyone,
First of all I apologize if this has already been asked somewhere, but I have not been able to find any information on this anywhere.
I am trying to understand how the CommandDefinition.execute(input) works, especially the input part.
More specifically, it would be very interesting for me to run the following:
move_command = ui.commandDefinitions.itemById('FusionMoveCommand')
move_command.execute()
and passing inputs in the execute of the move command such move type, pivot point coordinates, X, Y, Z, X angle, Y angle, Z angle etc... but have not figured out a way to do it.
If someone has experience with this, any help is gladly welcomed.
Cheers !