using System; using System.Collections.Generic; using System.Text; using System.Windows.Forms; using Autodesk.AutoCAD.Runtime; using Autodesk.AutoCAD.EditorInput; using Autodesk.AutoCAD.Geometry; using Autodesk.AutoCAD.DatabaseServices; using Autodesk.AutoCAD.ApplicationServices; namespace T_cad { public class mainCls { [CommandMethod("tk")] public void creat() { Frame5000 frame = new Frame5000(); frame.Produce(); } [CommandMethod("ls")] public void LSTKxiugai() { LSTKAllCls lstkallCls = new LSTKAllCls(); //lstkallCls.Function(); lstkallCls.mianfunction(); } [CommandMethod("xgls")] public void LSTK1_1000() { LSTKAllCls lstkallCls = new LSTKAllCls(); //lstkallCls.Function(); lstkallCls.DWGXiugai(); } [CommandMethod("tt")] public void tt() { LSTKAllCls lstkallCls = new LSTKAllCls(); //MessageBox.Show("hha"); //lstkallCls.DGWTKfunctionnew(); lstkallCls.DGWTKfunction2020(); MessageBox.Show("OK!"); } [CommandMethod("dd")] public void dd() { LSTKAllCls lstkallCls = new LSTKAllCls(); //MessageBox.Show("hha"); //lstkallCls.DGWTKfunctionnew(); lstkallCls.InserDOMbatch2021(); MessageBox.Show("OK!"); } } }