PDA

View Full Version : Dialog Box Question


eptownie1988
2007-10-17, 10:01 PM
I have not been able to figure a way to have updated values appear in a dialog box. My routine I have is a sequential numbering routine that has a dialog box interface. The user is asked for a constant value (ie. M1-) and a starting number (ie. 1) and would produce the result M1-1. When the routine is finished and I start up the routine again I would like the values M1- in the constant edit box and the next available number in the starting number edit box. Now I have to re enter the same information and try to remember what the last number used was. Any help would be greatly appreciated. I am still using AutoCAD 2006.

Opie
2007-10-17, 10:23 PM
You could store the values in a global variable or many other ways depending on your need.

eptownie1988
2007-10-18, 01:19 PM
How would I get the global variable to be displayed in the dialog box?

CAB2k
2007-10-18, 02:45 PM
Use the Set_Tile function.
(set_tile <tileName> <variableName>)