- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Looking to delete a specific model from the cloud where it was saved from an API script in python. I found a 2015 post that says unable to do this thru the API, hoping a resolution was made since then. That is my first question please. Thank you on that in advance!
My second question please is there a repository of API script commands available ? I spend so much time looking for solutions on the API and Scripts forum if there was some documentation that had a good amount of the commands, it would be a time saver!! Please understand we do everything from the API script as we have automated our process as much as I've been able to make it, so its just API scripting commands, I hope that is clear. Thank you as well in advance for any advice on this.
PS. I got the All_Commands_Line_Options from Makoto Tanaka (- you are awesome! )
Now I will tell you why... We have an API script that brings in a model, updates any parameters, generates g-code and updates the model view with the new parameters. Our issue is that our models have more than one setup and when only one setup is updated via the API scripting commands (generate toolpaths and post), the UI interface appears to loose connectivity and leaves old lines on the model, which confuses our machine operators. A refresh solution was put in place last year (swap between design workspace and CAM workspace), but in October 2022 with a Fusion 360 release we lost the refresh, meaning the code stopped removing the (old) unwanted lines. (same code, same models, different end result after upgrade) Basically if the operator clicks the TOP setup 'hide all' and 'show all' the view refreshes and things look perfect, no unwanted lines. I posted how to toggle the setup from the API but its just not possible. Unable to locate any resolution to this refreshing, this week I got the script to export the model as a d3f file thinking I could re-import it and show that to the operator but upon the re-import not enough is available (no simulation). So yesterday and today I worked and have been able to save the model to the cloud, delete the view, and then bring it back in again. At least it looks right now, but I need to be able to delete this temporary copy I saved to the cloud otherwise it will fill it up and that's not good. I just can't locate how to delete this temporary model copy I saved to the cloud. Fusion Support does know about this refresh issue, we informed them last October and I have been attempting to find a solution since then. Any suggestions greatly appreciated!!!! I ask because I am a programmer not an AutoCAD/Fusion 360 end user, and perhaps someone from that world can assist me? Thank you!!
Solved! Go to Solution.