Automating Update Model in Drawings
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I’m trying to create an ilogic external rule in Autodesk Inventor 2024 to automatically update all drawing views in all sheets of an open .idw or .dwg drawing. Specifically, I need to replicate the “Update Model” command you get when right-clicking a drawing view → Update Model.
Here’s what I’ve tried so far:
Using Sheet.Update() and DrawingDocument.Update(), but this only updates the sheet graphics/annotations, not the model link.
Attempting to call DrawingView.Update() directly, but this property doesn’t exist in the Inventor 2024 API.
Calling ControlDefinitions like "DrawingUpdateAll", which caused errors (“Class not registered”).
Experimenting with ReferencedDocument.Update(), but that risked corrupting files.
The goal is to loop through all sheets and all views in a drawing, and actually refresh the referenced model data (as if “Update Model” was clicked for each view).
Environment:
Autodesk Inventor 2024
Windows 10/11
Using iLogic external rules (VB.NET style)
Has anyone solved this before or knows the correct API call or workflow to programmatically trigger “Update Model” on all drawing views?
Any code snippets, API references, or guidance would be appreciated!
Thanks in advance.