Execute Fusion 360 internal commands with input

Execute Fusion 360 internal commands with input

Anonymous
Not applicable
350 Views
1 Reply
Message 1 of 2

Execute Fusion 360 internal commands with input

Anonymous
Not applicable

Hi F360 users,

I want to execute commands which require some input. 

 

cmd = _ui.commandDefinitions.itemById('ActivateEnvironmentCommand')
cmd.execute()
In the above command, I want to activate a specific workspace based on ID.
How can I pass the workspace ID to execute the command?
0 Likes
Accepted solutions (1)
351 Views
1 Reply
Reply (1)
Message 2 of 2

kandennti
Mentor
Mentor
Accepted solution
0 Likes