CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
Over 1.091.000 registered users (EN+CZ). AutoCAD tips, Inventor tips, Revit tips. Try the new precise Engineering calculator. New AutoCAD 2026 commands and variables.
RSS channel - CAD tips RSS tips
RSS discussions

Discussion Discussion forum

?
CAD discussions, advices, exchange of experience

CAD Forum - Homepage CAD discussion forum - ask any CAD-related questions here, share your CAD knowledge on AutoCAD, Inventor, Revit and other Autodesk software with your peers from all over the world. To start a new topic, choose an appropriate forum.

Please abide by the rules of this forum.
This is a peer-to-peer forum. The forum doesn't replace the official direct technical support provided by ARKANCE for its customers.
How to post questions: register or login, go to the specific forum and click the NEW TOPIC button.
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Topic ClosedQuickly enable all SNAP - AutoCAD

 Post Reply Post Reply
Author
deoogo View Drop Down
Newbie
Newbie


Joined: 31.Mar.2023
Location: Brazil
Using: AutoCAD, Civil 3D, Revit, Dynamo
Status: Offline
Points: 6
Direct Link To This Post Topic: Quickly enable all SNAP - AutoCAD
    Posted: 31.Mar.2023 at 20:55
Hello, everyone.

I would like to know if there is any way to enable, through the CUI, all AutoCAD snaps at once. I waste a lot of time re-enabling snaps, because my lisp disables them all whenever I need to use it. ConfusedConfusedConfused

Tks.
Back to Top
Vladimir Michl View Drop Down
Moderator Group
Moderator Group

Arkance Systems CZ

Joined: 26.Jul.2007
Location: Czech Republic
Using: Autodesk software
Status: Offline
Points: 2098
Direct Link To This Post Posted: 01.Apr.2023 at 14:09
Create a new command to set OSMODE to 16383 (all "on"):

OSMODE;16383;
Vladimir Michl (moderator)
ARKANCE - https://arkance.world - Autodesk Platinum Partner
Back to Top
Kent Cooper View Drop Down
Senior Member
Senior Member


Joined: 12.Mar.2013
Location: United States
Using: AutoCAD2020, 2023
Status: Offline
Points: 685
Direct Link To This Post Posted: 03.Apr.2023 at 17:50
Your AutoLisp file(s) can [SHOULD] be edited to do what is standard in well-written routines, that is, to save the OSMODE setting at the beginning, do whatever it does, and reset OSMODE at the end.  Then you can have some combination of modes other than everything when that's what you want, and that will be what is restored for you.

But in any case, I would strongly suggest that you do not turn on all modes for running Osnap.  Leave out NEArest.  It will almost always "win" over other modes that you may intend, often giving undesired results.
Back to Top

Related CAD tips:


 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0,248 seconds.