Fusion API - Document rename
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm developing an Autodesk Fusion AddIn, which allows the renaming of existing Designs/Drawings.
In order to do that, I'm using the following code:
This method works well, in the sense that I can immediately see that a new version is created, with the new code applied both in the data panel and in the actual workspace (as well as the Part Name and Part Number).
However, as soon as I close the Design and re-open it, the name in the workspace and in the Part Name actually reverts back to the previous one (but not in any other place).
Additionally, in the cloud version of Fusion, I can also see this incongruency:
However, in the wrongly named design, I still see Part Number and Part Name with the new code (in the Desktop version the Part Name is incorrect):
Can I assume this is a bug with the Fusion API, or is there something I'm doing wrong?