Override inventor close document

Override inventor close document

LarsBJepsen
Advocate Advocate
332 Views
2 Replies
Message 1 of 3

Override inventor close document

LarsBJepsen
Advocate
Advocate

I'm writing an ilogic rule to run on "Close document". Is it possible to override/stop the document close from ilogic in case of specific conditions in the ilogic rule? I would like to have Inventor returning to the document instead of closing it based on specific conditions in the ilogic rule.

 

Any Suggestions??

0 Likes
333 Views
2 Replies
Replies (2)
Message 2 of 3

bradeneuropeArthur
Mentor
Mentor

Hi,

 

Maybe it is a solution to re-open it again with coding, after closing!

 

Regards,

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:
Drawing List!|
Toggle Drawing Sheet!|
Workplane Resize!|
Drawing View Locker!|
Multi Sheet to Mono Sheet!|
Drawing Weld Symbols!|
Drawing View Label Align!|
Open From Balloon!|
Model State Lock!
Posts and Ideas:
My Ideas|
Dimension Component!|
Partlist Export!|
Derive I-properties!|
Vault Prompts Via API!|
Vault Handbook/Manual!|
Drawing Toggle Sheets!|
Vault Defer Update!

! For administrative reasons, please mark a "Solution as solved" when the issue is solved !


 


EESignature

0 Likes
Message 3 of 3

WCrihfield
Mentor
Mentor

What are your conditions?  Why to you need to use On Close trigger instead of Before Save or After Save triggers?

The Close Document trigger, should actually trigger just before closing the document.

As per the note here Inventor 2020 Help: Event Trigger Refference, it advises you to not change the document within a rule triggered by this.

 

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes