To use CommandLine.cs from the application context, you can define a second
command that does not use the CommandFlags.Session flag, and in the handler
of that command, you can use the Command() method from CommandLine.cs.
From the the application context command, you can invoke the second command
that calls the Command() method, using the Document's SendStringToExecute()
method.
--
http://www.caddzone.com
AcadXTabs: MDI Document Tabs for AutoCAD
Supporting AutoCAD 2000 through 2010
http://www.acadxtabs.com
Email: string.Format("{0}@{1}.com", "tonyt", "caddzone");
wrote in message news:6237892@discussion.autodesk.com...
Set view is just an example. I am actually doing alot more with the
CommandLine class that I would rather keep in the command line and not .NET