• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

shortcut to activate certain object snap modes

  • Thread starter Thread starter lollazzo
  • Start date Start date

lollazzo

Guest
Good morning.
I use an autocad addon that to perform some features disables all the snap modes to object.
I would like to know if it was possible to create a shortcut to reactivate them without using the menu and activate them one by one.
 

Attachments

  • menu.webp
    menu.webp
    28.1 KB · Views: 2
Yes.
you must set the osmode variable with a number corresponding to the sum of the osnap you want
the command is (from keyboard) osmode followed by the number I speak to you
to know which number to insert, look at the guide that tells you every osnap to what it corresponds (e.g. end=1 mid=2, cen=4, per=8
you want to reactivate an end+cen, the number will be 5 (4+1) or for+mid+cen will be 14 (8+4+2)
of course this macro (the osmode command followed by the number) can assign it to a button
for the correct values of osnap, look at the guide.
 
perfect is what I was looking for.
to add the key to the macro I used aliasedit
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top