Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Display the result of a subroutine in AutoCad drawing.

Status
Not open for further replies.

Dacian

Computer
Joined
Mar 19, 2006
Messages
1
Location
MX
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
 
Hi Dacian,

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
 
Can you specify the screen location of the user form, use a non full-screen CAD window and have them both on the screen at the same time?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top