Get Dialog Box Values in LISP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello AutoCAD Gurus,
I have lips routine to create beam end views. The thing about it is that I have to input all the information over every time I run the lisp routine and most of the values I have to input are repetitive. so my question is,
is there a way to create a dialog box to input the values and have it run the lisp routine and when I call it back to create the next beam end view, it will bring back the same values I previously inputted and just change some of the values per the new beam endview?
Here is an example of the values I need to input
Enter slab thickness, return if none: 5
Enter L[left], R[right] or C[centered] to locate slab with respect to beam: C
Enter beam depth from top of slab in inches: 35
Enter beam width at bottom of beam in inches: 18
Enter beam width at top of beam in inches, return if same as bottom: 20
Enter T if top beam width is at top of slab, B if at bottom of slab: T
Enter the height of the cgs above beam bottom in inches: 25
Enter the total number of anchors required w/ suffix to indicate type -
[D=deadend, S=stressend, I=intermediate or U=unspecified] eg - 8D: 8S
Enter R or C to designate rectangular or circular column, return if none: R
Enter size of column face at beam end in decimal inches: 24
Is column vertical rebar evenly spaced? [Y or N]: Y
How is column located w/ respect to beam [C=centered, L=left justified, R=right
justified or O=offset]: C
Enter rebar quantity & size at rectangular column face or total no. of bars for
circular column [eg 3#7]: 3#8
Pick lower left corner of endview:
After that last command I pick any place on my drawing and it will create the end view. then to create a new one, I have to input all the values all over again even if some of them are the same. Please help