How to turn off Defer Update with ilogic?

How to turn off Defer Update with ilogic?

WilcoLP
Participant Participant
1,187 Views
2 Replies
Message 1 of 3

How to turn off Defer Update with ilogic?

WilcoLP
Participant
Participant

Hello 

 

After the line 

MyArea = iProperties.Area
enabled "Defer Update"
 
How do i turn off "Defer Update" with ilogic?
 

 

Naamloos.png

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

WCrihfield
Mentor
Mentor
Accepted solution

Hi @WilcoLP.  That setting is actually in two places.  There on the Manage tab > Update panel, and also within the Application Options > Assembly tab, right at the top (same setting).  And yes, it is exposed to Inventor's API.  Here is a simple iLogic code to toggle that setting.

 

ThisApplication.AssemblyOptions.DeferUpdate = Not ThisApplication.AssemblyOptions.DeferUpdate

...or you can just put False after the = sign to ensure that this code always turns it off.

 

 

If this solved your problem, or answered your question, please click ACCEPT SOLUTION.
Or, if this helped you, please click (LIKE or KUDOS) 👍.

If you want and have time, I would appreciate your Vote(s) for My IDEAS 💡 or you can Explore My CONTRIBUTIONS

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

Message 3 of 3

WilcoLP
Participant
Participant

Hi WCrihfield

 

Thank you very much that was exactly what I was looking for

0 Likes