Announcements
Autodesk Community will be read-only between April 26 and April 27 as we complete essential maintenance. We will remove this banner once completed. Thanks for your understanding

API or Script to Renumber tools

kylematthew159
Enthusiast Enthusiast
760 Views
5 Replies
Message 1 of 6

API or Script to Renumber tools

kylematthew159
Enthusiast
Enthusiast

Hello, I was wondering if it was possible to write a program or script that could change the tool numbers for my tools. I'm well aware the methods build into fusion to accomplish this but I want something I little more powerful. I know the API features on the CAM side are lackluster for the time being, but basically I'm just wondering if this is possible before I start investing time into creating it.

 

Thanks!

Reply
Reply
0 Likes
Accepted solutions (1)
761 Views
5 Replies
Replies (5)
Message 2 of 6

BrianEkins
Mentor
Mentor
Accepted solution

It's not currently possible.  Nothing associated with tooling is exposed through the API.

---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com
Reply
Reply
0 Likes
Message 3 of 6

kylematthew159
Enthusiast
Enthusiast

That's what I thought but I figured I'd ask. Thanks.

Reply
Reply
0 Likes
Message 4 of 6

alexpinson5
Enthusiast
Enthusiast

Is this still the case in 2022?

 

I'm looking to use a Python script to simply compile all of the tool numbers being used in a file. It looks like I can't access the parameter for the tool in an operation:

alexpinson5_0-1668275779052.png

 

I don't need any other info about the tool, just it's number. Worst case I can use the API to generate a setup sheet and then pull the numbers from the HTML file, but I would much prefer if it's possible to access them directly from the API...

 

Reply
Reply
0 Likes
Message 5 of 6

BrianEkins
Mentor
Mentor

This still is not available. Hopefully soon.

---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com
Reply
Reply
0 Likes
Message 6 of 6

alexpinson5
Enthusiast
Enthusiast

There appears to be at least some level of availability/connection to the tooling info - after playing around a bit more I'm able to use the 'tool_number' and 'tool_diameter' parameters with no issue. I haven't tried anything else, but it is available to some extent.

Reply
Reply
0 Likes