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: 

How to disable design history capture

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
lc752
837 Views, 2 Replies

How to disable design history capture

Is it possible to turn design history off through python instead of using the GUI every time I open a new document. I turn it off to improve performance when undertaking interative tasks. When testing scripts over and over again, it's quite frustrating to keep turning it off. I can't find any information about this anywhere.

 

Thanks,

 

Lachlan

2 REPLIES 2
Message 2 of 3
ekinsb
in reply to: lc752

That setting is a bit hard to find.  You can set it using the Design.designType property.  The code below should do it.

 

des.designType = adsk.fusion.DirectDesignType

Brian Ekins
Inventor and Fusion 360 API Expert
Mod the Machine blog
Message 3 of 3
lc752
in reply to: ekinsb

Ah yep, very nice. Just added DesignTypes in there and it worked. Thanks a bunch 🙂

design.designType = adsk.fusion.DesignTypes.DirectDesignType

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