I have checked both methods:
But with both cases ribbon of alignment appears very fast but selection alingment in graphic is very very slow...
What happens?
Solved! Go to Solution.
Solved by joantopo. Go to Solution.
Solved by joantopo. Go to Solution.
I don´t understand why if I do select and zoom entity, program takes few time to select alingment :
Autodesk.AutoCAD.Internal.Utils.SelectObjects(arrayId); Autodesk.AutoCAD.Internal.Utils.ZoomObjects(false); System.Windows.Forms.Application.UseWaitCursor = false;
but if I only select alignment, it takes a lot of time.
Solved, the last line should be:
Autodesk.AutoCAD.ApplicationServices.Application.DocumentManager.MdiActiveDocument.Editor.UpdateScreen();
or with commandFlag redraw.