Osnap lisp doesn't work

Osnap lisp doesn't work

Anonymous
Not applicable
558 Views
3 Replies
Message 1 of 4

Osnap lisp doesn't work

Anonymous
Not applicable

Hello sir.

 

I want to use lisp when I want to turn on Osnap.

I've used this lisp in 2006 version, but it doen't work in 2022.

Please check this lisp. 

(defun c:vv()
(command "ucs" "w" "osnap""end,ins,cen,nod,int")
)

 

Thank you. Best regard.

0 Likes
559 Views
3 Replies
  • Lisp
Replies (3)
Message 2 of 4

ВeekeeCZ
Consultant
Consultant

No issues here.

Elaborate more - copy the command-line listing or use screencast HERE to capture the video.

0 Likes
Message 3 of 4

john.uhden
Mentor
Mentor

(setvar "osmode" 16493)

John F. Uhden

0 Likes
Message 4 of 4

Kent1Cooper
Consultant
Consultant

@john.uhden wrote:

(setvar "osmode" 16493)


That will set those modes, but running Osnap will be turned off.  If you want it on, use 109.

But see the >other thread< with the same question [from a different User, maybe at the same company or something, since the code is identical].

Kent Cooper, AIA
0 Likes