public void STLInCommand() { Editor editor = Autodesk.AutoCAD.ApplicationServices.Application.DocumentManager.MdiActiveDocument.Editor; Database arg_15_0 = HostApplicationServices.WorkingDatabase; try { //LicenseManager.CheckValid("FULL"); CommandLineQuerries.SpecifyFileNameForRead(ref CMD_STL.string_3, "stl"); string a = this.method_2(CMD_STL.string_3); if (a == "A") { editor.WriteMessage("\nASCII STL format file identified."); CMD_STL.string_0 = CommandLineQuerries.InsertOnLayer_Current_Name_STL(CMD_STL.string_0); this.method_0(CMD_STL.string_3); } else if (a == "B") { editor.WriteMessage("\nBinary STL format file identified."); if (CMD_STL.string_0 == "S") { CMD_STL.string_0 = "C"; } CMD_STL.string_0 = CommandLineQuerries.InsertOnLayer_Current_Name(CMD_STL.string_0); this.method_1(CMD_STL.string_3); } DBManager.ZoomExtents(); } catch (System.Exception ex) { editor.WriteMessage("\n" + ex.Message); } }