Auto-text and OSNAP...

Anonymous

Auto-text and OSNAP...

Anonymous
Not applicable

Hi

 

Can anyone tell me why, that when I add size text or level text etc (autotext), my OSNAP gets turned off and I have to manually turn it on or shift-right click to select an osnap?

 

It's very annoying when I'm adding loads of sizes etc en mass.

 

Cheers!

0 Likes
Reply
Accepted solutions (1)
518 Views
3 Replies
Replies (3)

Anonymous
Not applicable
Accepted solution

At this point I use my own annotation tools more often than the native ones, but from what I can remember I've never seen the setting you want. It may not exist, but I know they added the ability to regulate snaps during SPOOLDIM in the SPOOL.INI. So, maybe it is hiding in there somewhere too.

 

However, if you can't find it, then you could use this as a bandaid. Make yourself a text file, paste this code into it, change the extension to LSP and add it to your startup or just load it when you have a lot of annotation work to do. When the AutoCAD OSMode system variable is set to zero (like when pulling elevations) it will kick in setting it back to your desired value; currently set to 72 which is node & insertion.

(defun MySnapReactor (a b)
  (if (= (getvar "osmode") 0)
    (setvar "osmode" 72)) ;Set your desired OSnap Settings Here
  )
(vlr-sysvar-reactor nil '((:vlr-sysvarchanged . MySnapReactor)))

Anonymous
Not applicable

I did discover the spooldim file, but fiddling with the osnap setting within made no difference.

 

That lisp however works brilliantly :slightly_smiling_face: 

 

Thanks very much indeed, you've made a monotonous dull job a heck of a lot quicker and less annoying :slightly_smiling_face:

0 Likes

slottoffmechanical
Explorer
Explorer

Check out this video it explains the OSNAPS in  the spool.ini file. It starts at 25 min. in.

https://www.youtube.com/watch?v=Fv1Mh4Tfm5c

0 Likes