CADdancer
2004-07-22, 05:58 PM
Hello to Everyone at AUGI:
I have a simple VBA routine that plots the current drawing file in AutoCAD 2005.
The routine is called from a lisp program that loads the VBA code, runs the module and then unloads the VBA code.
When plotting a drawing in paper space everything works OK. However, when I try to plot a drawing from model space the form stays open and does not allow me to select the two points required for the plot window. If I try to hide the form (Me.Hide) the form disappears and I can define the plot window but after the plot is completed the lisp routine does not unload the VBA file. It appears that the VBA code does not release control back to the lisp environment.
Does anyone have any suggestions on how to solve this situatuon.
Any help would be appreciated.
Regards,
Vince
I have a simple VBA routine that plots the current drawing file in AutoCAD 2005.
The routine is called from a lisp program that loads the VBA code, runs the module and then unloads the VBA code.
When plotting a drawing in paper space everything works OK. However, when I try to plot a drawing from model space the form stays open and does not allow me to select the two points required for the plot window. If I try to hide the form (Me.Hide) the form disappears and I can define the plot window but after the plot is completed the lisp routine does not unload the VBA file. It appears that the VBA code does not release control back to the lisp environment.
Does anyone have any suggestions on how to solve this situatuon.
Any help would be appreciated.
Regards,
Vince