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: 

Fusion 360 Python Script - Make a Document (Assembly, Part or Drawing) "Dirty"

3 REPLIES 3
Reply
Message 1 of 4
isocam
203 Views, 3 Replies

Fusion 360 Python Script - Make a Document (Assembly, Part or Drawing) "Dirty"

Can anybody help?

 

Is it possible using a Fusion 360 Python script  to make a document (Assembly, Part or Drawing) "Dirty"?

 

For example, make a document's "Save" button enabled when it is disabled (Greyed out).

 

Many thanks in advance!

 

Darren

3 REPLIES 3
Message 2 of 4
MichaelT_123
in reply to: isocam

click origin icon twice.

MichaelT
Message 3 of 4
kandennti
in reply to: isocam

Hi @isocam .

 

You can also run this text command

AssetMgt.MarkDirty
Message 4 of 4
BrianEkins
in reply to: isocam

You can also do something like this.

desc = root.description
root.description = ''
root.description = desc

 

At first, I tried this, but Fusion is smart enough to see that it didn't change.

root.description = root.description

 

 

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

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report