Originally Posted by
Jettero2112
WOW. Very Cool and Groovy! Thanks! I do have a few observations, though.
- Won't let me put a space in the suffix or prefix (1 @ xx'-x")
- Uses decimal units, can this be adjusted to architectural?
- Only allows you to input the slope factor once. The second time it's run, it skips that question. I have multiple slopes on one drawing. If it would ask you again but give you the option of using the last slope number input.
- Is there any way to be able to add or subtract a number from the final output before changing the mtext? (want to add or subtract a couple inches from the final number).
This routine is pretty friggin' cool. Thanks for the help, it's very greatly appreciated!
Won't let me put a space in the suffix or prefix (1 @ xx'-x")
CHANGE
Code:
(setq mypfix (getstring "nPrefix String"));get a Prefis string put
(setq mysFix (getstring "nSuffix String"));Get a suffix string
TO
Code:
(setq mypfix (getstring T "nPrefix String"));get a Prefis string put
(setq mysFix (getstring T "nSuffix String"));Get a suffix string
Uses decimal units, can this be adjusted to architectural?
CHANGE
Code:
(setq newText (strcat mypfix (rtos mydist 2 2) mysfix));can change mode or precision
TO
Code:
(setq newText (strcat mypfix (rtos mydist 4 2) mysfix));can change mode or precision
Is there any way to be able to add or subtract a number from the final output before changing the mtext
add code after
Code:
(setq mydist (* mydist myslope))
to add number to mydist