Letter T after keyboard shortcuts

Letter T after keyboard shortcuts

seabrahenrique
Advocate Advocate
755 Views
6 Replies
Message 1 of 7

Letter T after keyboard shortcuts

seabrahenrique
Advocate
Advocate

Hello guys,

 

I have some curious problem here. 

 

Ocurs only in some PC'S: When i execute my lisps comands with keyboard shortcuts, the AutoCAD apparently returns a letter "T" and do not execute my comands... Has anyone seen this?

 

Example:

 

WhatsApp Image 2022-07-11 at 15.26.58.jpeg

 

PLINE is (obviously) a AutoCAD comand, and ACSINC and SSC is my lisp comands...

 

I guess some variable of AutoCAD has change and cause that, but i have no idea wich...

 

Any help is apreciated!

0 Likes
756 Views
6 Replies
Replies (6)
Message 2 of 7

Kent1Cooper
Consultant
Consultant

It's impossible to say without seeing the definitions of those commands or even having any idea what they're supposed to do.  But it looks like they end with some function that is "satisfied" and returns T [= True].  If they both end with the same function external to them, that is called as they end [a shared system-variable resetting function, perhaps?], then if that function has changed, somehow, it would have the same result from both the calling commands, without them or any AutoCAD setting(s) having been changed.

Kent Cooper, AIA
Message 3 of 7

paullimapa
Mentor
Mentor

Does this happen when you open a new drawing and you immediately execute ACSINC and/or SSC?


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
Message 4 of 7

ronjonp
Mentor
Mentor

Explore these two snippets:

;; Returns T
(defun c:ssv nil (and))
;; Quiet exit
(defun c:ssv nil (and)(princ))

In short, add (princ) to the end of those routines.

Message 5 of 7

Kent1Cooper
Consultant
Consultant

@ronjonp wrote:

.... add (princ) to the end of those routines.


That may be a good idea, but it can't be the whole solution, because of this in Message 1:
"... AutoCAD apparently returns a letter "T" and do not execute my comands..."

Kent Cooper, AIA
Message 6 of 7

ronjonp
Mentor
Mentor

@Kent1Cooper  As I'm not a mind reader I'm solving one part of this. 😉

Sometimes I get into the weeds but these days I try not to.

Message 7 of 7

seabrahenrique
Advocate
Advocate

Thanks for all your answer, guys.

 

My customer reinstalled the Civil 3D and mysteriously the command back to work.

 

In fact i didn't find out what it was...

0 Likes