Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating a Snap Macro..

Status
Not open for further replies.

basepointdesignz

Programmer
Jul 23, 2002
566
GB
Hi,

I wanted to create a shortcut macro i can type in while doing a command so i can snap FROM PERPENDICULAR but can't quite get it right. I need it to be transparent also, so say if was drawing a line, i would want to type FP or whatever i set for the command shortcut and i could snap from the perpendicular of a certain object. I know i can do it from the snap menu / toolbar, but would rather have a quick 2 letter command to type mid-command..

Any ideas?

Cheers,

Paul @ basepointdesignzltd..
 
Hi Paul,

Here's one of many options:

Code:
(defun C:FP ()
  (setvar "OSMODE" 128)
)

HTH
Todd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top