Your code must be running in the application context
in order to switch active documents.
--
http://www.caddzone.com
AcadXTabs: MDI Document Tabs for AutoCAD 2008
Supporting AutoCAD 2000 through 2008
http://www.acadxtabs.com
wrote in message news:5683442@discussion.autodesk.com...
Hi,
Did you ever find out how to do this, its been bugging me for days now.
Thanks