strCommand = _bstr_t("_Pedit") + "\n" +( "M") + "\n" + _bstr_t(str) +_bstr_t("J") + "\n" + _bstr_t("0") + "\n" + "\n"; AcApDocument* pdoc=acDocManager->curDocument(); //acDocManager->activateDocument(pdoc); acDocManager->sendStringToExecute(pdoc,strCommand); 命令可以生成一条多段线,但是怎么可以取到这个实体,用acadSSGEt获取不到,如何刷新,请高手交流! |