Jump to content

Recommended Posts

Posted

I really like this LISP, but I need to be able to use OSNAP with it. Does anyone know how to make this use OSNAP?

NumInc V7.lsp

Posted

Thats an old version of it actually.

 

The problem with the GrRead loop (which the program utilises), is that the GrRead function is written solely to monitor user input from mouse and keyboard, and hence all standard AutoCAD functionality is ignored.

 

Therefore, to get OSnap within the loop, one must imitate the ObjectSnap functionality hard coded in the program.

 

I figured that most users do not use the OSnap in most situations when placing text, but for those that do, the new version has the option to switch off the fancy text movement and hence enable OSnap and all other AutoCAD functionality.

 

I'm glad you like the program, the latest version can be found here, the original thread is here.

 

Lee

Posted

GrRead and OSnaps don't work well together. It's possible, but a huge pain. I'm confused as to why you wouldn't post this request in the thread the routine came from.

Posted

Oop, Lee just beat me with a much better explanation.

Posted
I'm confused as to why you wouldn't post this request in the thread the routine came from.

 

Me too :geek:

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...