Fusion API and Scripts
Got a new add-in to share? Need something specialized to be scripted? Ask questions or share what you’ve discovered with the community.
Showing results for 
Show  only  | Search instead for 
Did you mean: 

C++ Opening the Tool UI and recording the Tool selected for later use.

Message 1 of 2
204 Views, 1 Reply

C++ Opening the Tool UI and recording the Tool selected for later use.



I'm working on some CAM scripts to speed up the parts programming process and I've hit a block. I went through the reference data for the APIs and can't seem to find anything relating to tooling other than path verification. What I really need is the ability to call up a tool through the script as a var, and then use it later on down the line. Essentially what I need is something along the lines of:



{ui.messagebox ("Select roughing tool");

    ui.opentoollibrary (get selected tool=tool1);


    ui.opentoollibrary (get selected tool=tool2);

    toolarray=(tool1, tool2);


if {( == NULL or ( == NULL};

then {ui.messagebox "No Tools Selected!"};

else //continue program to generate toolpaths along the selected areas.



(Please excuse any language mixup I'm having here, its mostly concept speak and its probably not pure C++ because of it)

Also if you have a better way of going about doing this I am open to suggestions.


Message 2 of 2

The CAM API is currently very limited and what you want to do is not possible.  Because it's the CAM team that is responsible for the CAM API, it would be best to post your request in the CAM forum or the Idea Station.

Brian Ekins
Inventor and Fusion 360 API Expert

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th

Autodesk Design & Make Report