Can we open the following dialogs using API?

Can we open the following dialogs using API?

Anonymous
Not applicable
457 Views
1 Reply
Message 1 of 2

Can we open the following dialogs using API?

Anonymous
Not applicable

Similar to the Render Settings Dialog

Ptr<CommandDefinition> commandDefinition = commandDefinitions->itemById("A360RenderCommand");
commandDefinition->execute();

 

If yes, from where can we get the list of commands to open Fusion 360 dialogs?

 

Create Nest Study.JPGProcess Material Library.JPG

0 Likes
458 Views
1 Reply
Reply (1)
Message 2 of 2

boopathi.sivakumar
Autodesk
Autodesk

Hi @Anonymous 

The commands are 

MSFNestCreateStudyCmd

MSF.MAGMatLibraryCmd.FusionNesting

You can write a script to know all the executable commands

app = adsk.core.Application.get()
ui = app.userInterface

cmds = [cmd.id for cmd in ui.commandDefinitions]  
print('\n'.join(cmds))

This should print all the command definition Id's


Boopathi Sivakumar
Senior Technology Consultant