Snap toggle

Next
 From:  Andrei Samardac
5924.1 
Michael could you pleas make script that toggle between straight and object snap. As always I need or one or another but not both at the same time. In big models there is a lot of snap points so for example to move object I have to turn on straight snap and turn off object snap, and when I want to draw curves I have to turn on object snap and than turn off straight snap. My experience show that it will be good to have this script to toggle snap.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Michael Gibson
5924.2 In reply to 5924.1 
Hi mir4ea, here you go:

script: /* Toggle alternating straight snap and object snap */ var x = moi.drawingAids.straightSnap; moi.drawingAids.straightSnap = !x; moi.drawingAids.objectSnap = x;

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All