protected override void ExecuteCore() { if (Ac.GetBlockNames(true, true).Count < 1) { throw new System.Exception(AppServices.Strings.BlocksNotFond); } var selWnd = new BlockSelectWindow(OnBlocksSelected); Ac.ShowModal(selWnd); }
protected override void ExecuteCore() { this.DisplayErrormMessageBox = false; this.DimStyleId = AcDwgDb.ImportMissedDimStyle("G7-Diff", Geo7App.Geo7Dwg); LineId = Ac.Editor.GetPolyline("\r\n" + AppServices.Strings.SelectLine + ": "); if (LineId.IsValid) { Ac.WriteLn(AppServices.Strings.SelectBlock); var selWnd = new BlockSelectWindow(OnBlocksSelected); Ac.ShowModal(selWnd); } }