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

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

isocam
Collaborator Collaborator
639 Views
3 Replies
Message 1 of 4

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

isocam
Collaborator
Collaborator

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

0 Likes
640 Views
3 Replies
Replies (3)
Message 2 of 4

MichaelT_123
Advisor
Advisor

click origin icon twice.

MichaelT
Message 3 of 4

kandennti
Mentor
Mentor

Hi @isocam .

 

You can also run this text command

AssetMgt.MarkDirty
Message 4 of 4

BrianEkins
Mentor
Mentor

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