Object Snap

Object Snap

MihaiAnghius
Contributor Contributor
1,768 Views
5 Replies
Message 1 of 6

Object Snap

MihaiAnghius
Contributor
Contributor

Is it possible to change Object Snap setings or prioritize the snap order while you are drawing a polyline or any other type of object  ?

0 Likes
Accepted solutions (1)
1,769 Views
5 Replies
Replies (5)
Message 2 of 6

pendean
Community Legend
Community Legend
There is no "prioritize" option for Osnaps, but you can toggle selections if that would help.
0 Likes
Message 3 of 6

wispoxy
Advisor
Advisor

Hello @MihaiAnghius, Welcome to the Autodesk Community!

I believe the command you're looking for is OSNAP. Feel free to share any further comments, concerns, questions, and suggestions you have with us. Glad to see you're here with us today, and I hope you receive the assistance needed. Feel free to private message me if needed and I'll take you in the right direction. Thanks.

0 Likes
Message 4 of 6

Kent1Cooper
Consultant
Consultant
Accepted solution

@MihaiAnghius wrote:

Is it possible to change Object Snap setings or prioritize the snap order while you are drawing a polyline or any other type of object  ?


You have several options to change the settings.

 

For a specific mode that you don't have "running," to apply only to the next location you pick, you can type in its name or abbreviation, or get to a list of them with Shift+right-click [currently -- that may vary with your version of AutoCAD].

 

To change the combination of running modes, you can type [or put into a menu item you can pick] 'OSNAP with the apostrophe prefix, and the dialog box for the settings will come up in which you can change the settings, even in the middle of another command.

 

For pre-determined modes or combinations of modes, you can make menu items to pick that have the desired combinations, as command macros, with comma separation where you want multiple modes:

 

'OSNAP END,MID,INT,PER

 

which can be used either inside another command or when no other command is active.  For outside-a-command use, you can also do it via AutoLisp:

 

(setvar 'osmode 163)

 

[which is the value for the same combination of modes], and that will be accepted inside another command and will change the setting, but it returns the 163, so that if you're in [for instance] a Line command, it will make a Line 163 units long in the direction of the cursor from the last point.

 

As for priority, the priority when there are multiple modes is always the closest applicable location to the pick point -- you can't otherwise prioritize them except by specifying one that you want for one pick, or turning off [even if only temporarily] lower-priority modes.

Kent Cooper, AIA
Message 5 of 6

3wood
Advisor
Advisor

Furthermore, you can also assign these osnap settings to different key combinations CTRL+SHIFT+F2, CTRL+SHIFT+F3,etc...

Message 6 of 6

MihaiAnghius
Contributor
Contributor

Thank you for your advice I ended up creating a custom toolbar and works excelet for my project 🙂

0 Likes