Hi,
GetSystemVariable is not returning anything when CommandMethod is Session. Works for CommandMethod Modal.
Is this the correct behavior? The command does a lot, including opening several drawings, calling SetSystemVariable as well as running LISP from Application.Invoke.
Currently it is failing on:
Dim doc As Document = Autodesk.AutoCAD.ApplicationServices.Application.DocumentManager.Add("C:\my-tplate.dwt")
Any suggestions on the CommandMethod flags to use?
Thanks,
Mike