How to disable design history capture

How to disable design history capture

lachycharts
Participant Participant
1,123 Views
2 Replies
Message 1 of 3

How to disable design history capture

lachycharts
Participant
Participant

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

0 Likes
Accepted solutions (1)
1,124 Views
2 Replies
Replies (2)
Message 2 of 3

ekinsb
Alumni
Alumni
Accepted solution

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

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

design.designType = adsk.fusion.DesignTypes.DirectDesignType