How to display variable in prompt command

How to display variable in prompt command

Anonymous
Not applicable
432 Views
2 Replies
Message 1 of 3

How to display variable in prompt command

Anonymous
Not applicable
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]
0 Likes
433 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
ThisDrawing.Utility.prompt "variable = " & myvar

ThisDrawing.SetVariable "MODEMACRO", myvar
0 Likes
Message 3 of 3

Anonymous
Not applicable
oh..like that, i would attempt it.

wrote in message news:[email protected]...
ThisDrawing.Utility.prompt "variable = " & myvar

ThisDrawing.SetVariable "MODEMACRO", myvar
0 Likes