Message 1 of 5
acedCommand and sendStringToExecute

Not applicable
12-08-2004
06:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
In certain cases (if AutoCAD is not at the Command prompt ) the function 'acedCommand' does not invoke its input AutoCAD command. I thought to use function virtual Acad::ErrorStatus AcApDocManager::sendStringToExecute(AcApDocument* pAcTargetDocument,const char * pszExecute,bool bActivate = true,bool bWrapUpInactiveDoc = false,bool bEchoString = true) = 0; can anyone help me use this function to do something like
'acedCommand(RTSTR, "zoom", RTSTR, "all", 0)', thanks a lot