Remember that the AutoCAD SAVE command (invoked from
the command line) saves the file to another filename, but
does change the current document to that filename.
--
http://www.caddzone.com
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006/2007
http://www.acadxtabs.com
wrote in message news:5187702@discussion.autodesk.com...
Perfect
Just one line of code:
if( Application.DocumentManager.MdiActiveDocument.CommandInProgress == "SAVEAS" )
{
PerformFunction( e.FileName );
}
Thanks so much for pointing me in the right direction. Much better than a global variable.