wimal Posted October 3, 2019 Posted October 3, 2019 (setq A "100") (setq B (getstring "\n Bar Spacing <"A"> ")) Please help me to correct this code. Quote
David Bethel Posted October 3, 2019 Posted October 3, 2019 (edited) (setq B (getstring (strcat "\n Bar Spacing <" A "> "))) And Then (if (= B "") (setq B A)) Edited October 3, 2019 by David Bethel 1 Quote
Lee Mac Posted October 3, 2019 Posted October 3, 2019 You may find my tutorial: Prompting with a Default Option a useful read. 1 Quote
BIGAL Posted October 4, 2019 Posted October 4, 2019 (edited) Something like this it can be re-set to remember last entry. getvals multi.lsp is in the download area at Cadtutor. (if (= barsz nil)(setq barsz "100")) (if (not AH:getvalsm)(load "Multi Getvals.lsp")) ……... ……... (setq barsz (atof (AH:getvalsm (list "Input bar spacing" "Bar space" 5 4 barsz )))) Edited October 4, 2019 by BIGAL 1 Quote
wimal Posted October 5, 2019 Author Posted October 5, 2019 On 10/3/2019 at 10:22 PM, Lee Mac said: You may find my tutorial: Prompting with a Default Option a useful read. Thanks Mr Lee for your kind help. In my new office I have to work with Auto cad Mac. So I cant use Vall. and DCL applications So your guidance are mostly welcome and highly appreciated. Quote
BIGAL Posted October 5, 2019 Posted October 5, 2019 Open DCL does mention mac so it may be a way around the dcl problem. Will have a look further later going out for beer now my birthday. 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.