Drolma Posted January 29, 2016 Share Posted January 29, 2016 I have forgotten the syntax to query a setq statement at the command line in autocad. I used to type a setq PT1 at the command line and the value was returned. But I cannot remember the trick to doing this. Can anyone help. Thanks Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted January 29, 2016 Share Posted January 29, 2016 At the AutoCAD command-line: Command: (setq myvar 123) 123 Command: !myvar 123 Using the VLIDE console is much easier: _$ (setq myvar 123) 123 _$ myvar 123 Quote Link to comment Share on other sites More sharing options...
rlx Posted January 29, 2016 Share Posted January 29, 2016 I have forgotten the syntax to query a setq statement at the command line in autocad. I used to type a setq PT1 at the command line and the value was returned. But I cannot remember the trick to doing this. Can anyone help.Thanks first check if TEXTEVAL is on (1) and then you could use someting like !Pt1 or (eval pt1) or just pt1 , depending in what manner you want to retrieve your point. Gr. Rlx Quote Link to comment Share on other sites More sharing options...
Drolma Posted January 29, 2016 Author Share Posted January 29, 2016 Thanks I just did not remember the ! Thanks 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.