Community
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.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

API to set all Editable Designs to Read Only

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
info83PHN
389 Views, 3 Replies

API to set all Editable Designs to Read Only

info83PHN
Advocate
Advocate

Is there an API script to set all Editable designs to Read-Only ( non commercial versions ) ?

0 Likes

API to set all Editable Designs to Read Only

Is there an API script to set all Editable designs to Read-Only ( non commercial versions ) ?

Labels (3)
3 REPLIES 3
Message 2 of 4
kandennti
in reply to: info83PHN

kandennti
Mentor
Mentor
0 Likes

Message 3 of 4
BrianEkins
in reply to: info83PHN

BrianEkins
Mentor
Mentor
Accepted solution

From the Data object, you can use the personalUseLimits property to get a PersonalUseLimits object. Using this, you can get a list of the editable files. Unfortunately, there isn't a way through the API to change the editable state. The fact that functionality is missing in the API is intentional.

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

From the Data object, you can use the personalUseLimits property to get a PersonalUseLimits object. Using this, you can get a list of the editable files. Unfortunately, there isn't a way through the API to change the editable state. The fact that functionality is missing in the API is intentional.

---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com
Message 4 of 4
info83PHN
in reply to: BrianEkins

info83PHN
Advocate
Advocate

Thanks Brian. I suspected it may be omitted as an option to prevent hobby uses developing scripts that make multiple files and set to Read Only after each one.

Was just thinking it would be nice to have a 'set all to read only' option at the end of the day.
Maybe in future they'll add an preferences option when Fusion is closed to set all to read only.

0 Likes

Thanks Brian. I suspected it may be omitted as an option to prevent hobby uses developing scripts that make multiple files and set to Read Only after each one.

Was just thinking it would be nice to have a 'set all to read only' option at the end of the day.
Maybe in future they'll add an preferences option when Fusion is closed to set all to read only.

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

Post to forums  

Autodesk Design & Make Report