displaying ssget custom prompt when DYNPROMP=1

displaying ssget custom prompt when DYNPROMP=1

andkal
Collaborator Collaborator
455 Views
2 Replies
Message 1 of 3

displaying ssget custom prompt when DYNPROMP=1

andkal
Collaborator
Collaborator

Hi
Is it possible in LISP to have a custom prompt for SSGET to be displayed next to the cursor?
I have DYNPROMP set to 1 and DYNMODE to 3. I want to get something simillar to this, and not only "Select object":

1.jpg
This is what is displayed for example by MATCHPROP.
I found a simillar topic with NOMUTT variable but it doesnt work for me. It displays a custom promp only in command line and not next to the cursor.


• www.autolisps.blogspot.com - Productivity plugins for Autocad and Autocad MEP
• Autodesk AppStore
0 Likes
456 Views
2 Replies
Replies (2)
Message 2 of 3

cadffm
Consultant
Consultant

Hi,

 

I think the answer is NO and it is a BUG - or we miss the "nomutt for dynprompt" variable.

Start an AutoDESK  support case, Idea post  or go another way

to report this old thing (How old: I guess - Since alltime of this dynprompt-feature)

 

 Ignores nomutt (Yes I know the dyn.display is not the command line, but it could have been that easy)

 

 

 

Sebastian

0 Likes
Message 3 of 3

Sea-Haven
Mentor
Mentor

Entsel has a prompt but ssget never has since day dot.

 

A couple of ways is to use a

(prompt "\nPIck lines")

(alert "Pick lines")

 

A pop up window that auto closes you can control display time.

 

 

 

(defun MsgBox (title options message time / WshShell)
   (setq WshShell (vlax-create-object "WScript.Shell"))
    (vlax-invoke WshShell 'Run
	 (strcat "mshta.exe vbscript:close(CreateObject(\"WScript.Shell\").Popup(\""
		  message "\"," (itoa time) ",\"" title "\"," (itoa options)"))"
         )
    )
   (vlax-release-object WshShell)
)

 

 

 

(msgbox "Lines on wall" 0 "Select LINES" 1)

0 Likes