LumpoDelMagnifico
Electrical
- Sep 22, 2004
- 35
I am using a VBA macro to open and print a series of drawings. Currently, VBA will Regen any drawings made with an older version of AutoCAD before it does the print. I would like to prevent this if possible. Does anyone know how I can turn off the REGEN when I open a drawing? Here is the code I am using to open the drawings. It is called by a while loop that cycles through an array of drawing names already picked by my code.
Sub OpenFiles(Dwgname As String)
Dim CurrentDwg As AcadDocument
Set CurrentDwg = Application.Documents.Open (Dwgname, [ReadOnly])
End Sub
Sub OpenFiles(Dwgname As String)
Dim CurrentDwg As AcadDocument
Set CurrentDwg = Application.Documents.Open (Dwgname, [ReadOnly])
End Sub