Hi,
i have a userform which draws parabola in 2 selected points,
hiding userform after i click draw and loop starts drawing, when it finishes loop userform shows up again,
but drawing not showing up until i click draw button again (2nd time). (2nd parabola not seen until 3rd click)
i try to use delay and doevents command but it didn t work.
Any suggestions? Thank you.
Solved! Go to Solution.
Solved by Alfred.NESWADBA. Go to Solution.
Hi,
welcome @Anonymous.autodesk.com!
>> but drawing not showing up until i click draw button again (2nd time)
Have you done a REGEN at the end of your first drawing function?
AutoCAD does not refresh the screen every time out of performance reasons, so when modal dialogs are open you have to do your own steps to get the display updated.
- alfred -
Thank you,
after the loop, i add
ThisDrawing.Regen acActiveViewport
worked for me.
Can't find what you're looking for? Ask the community or share your knowledge.