Message 1 of 2
iLogic Defer updates in drawing File
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Here's a quick iLogic script to defer updates on and off in a DWG file:
With thanks to Sean Dotson for this thread:
and Sanjay Ramaswamy for this one:
'Toggle 'Defer updates' on and off in a Drawing Dim oDoc As Document oDoc = ThisApplication.ActiveDocument oValue = oDoc.DrawingSettings.DeferUpdates () if oValue = "False" Then oDoc.DrawingSettings.DeferUpdates = "True" oStatusText = "Off" Else oDoc.DrawingSettings.DeferUpdates = "False" oStatusText = "On" End if PauseTime = 2 Start = Timer Do While Timer < Start + PauseTime ThisApplication.UserInterfaceManager.DoEvents ThisApplication.StatusBarText = "Drawing Updates " & oStatusText Loop
I welcome your comments.