把当前布局所有内容导出一个dwg文件.
static BOOL ExApp_ExportLayoutToDWG(CString sFileName);
例如: C#
MxDrawResbuf ret = (MxDrawResbuf)axMxDrawX1.Call("ExApp_ExportLayoutToDWG", "h:\1.dwg"); if (ret.AtString(0) == "Ok") { MessageBox.Show("Ok"); } else { MessageBox.Show("Error"); }
MxDrawXCustomFunction 方法