Fusion API - Document rename

Fusion API - Document rename

alessandro_sgreva
Explorer Explorer
298 Views
0 Replies
Message 1 of 1

Fusion API - Document rename

alessandro_sgreva
Explorer
Explorer

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:

 

alessandro_sgreva_0-1712930934821.png

 

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).

 

alessandro_sgreva_2-1712931313526.png

 

Additionally, in the cloud version of Fusion, I can also see this incongruency:

alessandro_sgreva_3-1712931489343.png

 

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):

 

alessandro_sgreva_4-1712931576159.png

Can I assume this is a bug with the Fusion API, or is there something I'm doing wrong?

 

0 Likes
299 Views
0 Replies
Replies (0)