Is there an API script to set all Editable designs to Read-Only ( non commercial versions ) ?
Solved! Go to Solution.
Is there an API script to set all Editable designs to Read-Only ( non commercial versions ) ?
Solved! Go to Solution.
Solved by BrianEkins. Go to Solution.
Hi @info83PHN -San.
DataFile.isReadOnly, but I don't think there is a way because of the ReadOnly property.
https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-2E541DC6-48DC-43EA-BDFB-7E4C12ED1476
Hi @info83PHN -San.
DataFile.isReadOnly, but I don't think there is a way because of the ReadOnly property.
https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-2E541DC6-48DC-43EA-BDFB-7E4C12ED1476
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.
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.
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.
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.