Message 1 of 3
How to display variable in prompt command
Not applicable
07-03-2008
06:06 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
is it possible to display variable in VBA?, and how
I want display variable in prompt command, like this
Command: 'VLIDE
Pick an object
This object is:
[code]
(if
(setq ss (car (entsel "\nPick an object")))
(progn
(setq sse (entget ss))
(setq etyp (cdr (assoc 0 sse)))
(setq opt (getstring (strcat "\nThis object is <" etyp ">: ")))
) ; progn
) ; if
[/code]
I want display variable in prompt command, like this
Command: 'VLIDE
Pick an object
This object is
[code]
(if
(setq ss (car (entsel "\nPick an object")))
(progn
(setq sse (entget ss))
(setq etyp (cdr (assoc 0 sse)))
(setq opt (getstring (strcat "\nThis object is <" etyp ">: ")))
) ; progn
) ; if
[/code]