判断当前是否有命令在运行
static bool Mx_IsRuningCommand(OUT CString& sCmdName);
例如: C# 判断当前是否有命令行,并得到命令名.
MxDrawResbuf ret = (MxDrawResbuf)axMxDrawX1.Call("Mx_IsRuningCommand", ""); if ((ret.AtString(0) == "Ok") && ret.AtString(1) != "intellisel" ) return;
MxDrawXCustomFunction 方法