Display the result of a subroutine in AutoCad drawing.
Display the result of a subroutine in AutoCad drawing.
(OP)
My problem is as follows:
I have to do a program wich has an user interface an in that interface you can select one of several primitives ( line, circunference, etc. ).For the program to do it's task, as soon as you select 'line' for example, in the u.i., it is hidden so you can specify to points to draw the line in Autocad's command line, but when that task is completed I want to redisplay the u.i to draw other primitives. The problem is that as soon as it draws the line I have to redisplay the user form and I can“t see the previous figure after I have drawn the next. My question is if there is a way to get some delay before I redisplay de user form so I can see the current primitive that is been drawn or if there is another solution.
Thanks
I have to do a program wich has an user interface an in that interface you can select one of several primitives ( line, circunference, etc. ).For the program to do it's task, as soon as you select 'line' for example, in the u.i., it is hidden so you can specify to points to draw the line in Autocad's command line, but when that task is completed I want to redisplay the u.i to draw other primitives. The problem is that as soon as it draws the line I have to redisplay the user form and I can“t see the previous figure after I have drawn the next. My question is if there is a way to get some delay before I redisplay de user form so I can see the current primitive that is been drawn or if there is another solution.
Thanks





RE: Display the result of a subroutine in AutoCad drawing.
You can always use a timer, but a more flexible way might be to trap on either an Enter keystroke or a Spacebar keystroke - this would allow your user as much time as he/she needed to view the graphics screen.
HTH
Todd
RE: Display the result of a subroutine in AutoCad drawing.