|
I stole this from the AutoCAD help 'cos I thought it was maybe worth looking into : If you want to use a VBA macro to launch an
AutoCAD interactive (built-in) The result of this is that you cannot run code
or make changes or verify If you split the macro into two or more parts,
and then use this queuing to Here is a sample of a macro that calls a
second 'part' after a dialog box is 'CODING STARTS HERE Sub Test() MsgBox "Please setup the layout the way you would like", vbOkOnly, "User Prompt" ' This command queues the launch of the 'Layout Wizard' dialog ThisDrawing.SendCommand ("(command ""_layoutwizard"")" & vbCr) ' This command queues the second part of the macro ThisDrawing.SendCommand ("(command ""_-vbarun"" ""Test_Part_2"")" & vbCr) End Sub Sub Test_Part_2() MsgBox "Part 2" End Sub 'CODING ENDS HERE |
|