sneffetsd Posted September 9, 2014 Share Posted September 9, 2014 Hi, I'm wondering, how can I make my lisps show like simple AutoCAD commands, where you can click on the option. The image bellow will show what I'm talking about. You can click on the 3P, 2P and Ttr. I did a search before posting, but didn't find anything. Thanks. Quote Link to comment Share on other sites More sharing options...
Tharwat Posted September 9, 2014 Share Posted September 9, 2014 Welcome to CADTutor Example . (initget 7 "3P 2P Tra") (setq kw (getkword "\n Specify center point for Circle [3P/2P/Tra (tan tan tan)] :")) Quote Link to comment Share on other sites More sharing options...
sneffetsd Posted September 9, 2014 Author Share Posted September 9, 2014 Tharwat, thanks for the help. It's the initget bit 7 or the [option1/option2] what does? Quote Link to comment Share on other sites More sharing options...
Tharwat Posted September 9, 2014 Share Posted September 9, 2014 Tharwat, thanks for the help.It's the initget bit 7 or the [option1/option2] what does? You are welcome Have a read of THIS Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted September 9, 2014 Share Posted September 9, 2014 It's the initget bit 7 or the [option1/option2] what does? The use of square brackets & forwards slashes in prompt strings will automatically be interpreted by AutoCAD as keywords - I briefly comment on this format in Note 1 of my tutorial here. Quote Link to comment Share on other sites More sharing options...
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.