@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