Jump to content

Recommended Posts

Posted

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

Posted

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

Posted
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

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...