Message 1 of 5
The first refresh IDW ilogic script that works (fixes graphical display bugs)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Because i am constantly trying to improve inventor sometimes i need to reinstall the software to get back to square one, but some work policies might not allow that.
this is my ilogic script that i use to refresh any graphical issues in drawings.
'Definitions
Dim p As DrawingDocument = ThisApplication.ActiveDocument
Dim s As Sheet = p.ActiveSheet
Dim oDV As DrawingView
Dim oSketch As DrawingSketch
Dim oDC As DrawingCurve
'Loop through all views that currently exist on the active sheet
For Each oDV In s.DrawingViews
'Create a new sketch on the active view
oSketch = oDV.Sketches.Add
'Put the sketch in edit mode
oSketch.Edit
'Exit the sketch
oSketch.ExitEdit
oSketch.Delete
Next