Jump to content

Recommended Posts

Posted

I recently started using "Middle of Two Points." I wanted to change the keyboard shortcut from m2p to something else, but can't find the entry in the CUI. Can someone help me? Thanks in advance.

Posted

not exactly the solution you're after but did you know you can select an osnap toggle for the current command by holding shift and clicking right button. from this drop down you can quickly select middle of 2 points osnap option

Posted

Its listed as "Snap, Mid Between 2 Points"

The macro is _M2P (The underscore allows AutoCAD to translate the command in foreign versions)

Posted

thanks for the replies.

does that mean that if i change _m2p to _mm, I can type mm to activate the command?

Posted

No. If you change it, the button would input _mm and AutoCAD would say unknown command.

Posted

So is there an easier way to use middle of two points with typing "m2p"?

I tried adding it via Aliasedit but doesn't seem to work. It says M2P is a new command and it seems like I can't create an alias for a Macro definition :(.

Posted

Set it in the pgp file???

Actually, I don't think that would work... The pgp just controls commands doesn't it.

Posted

I added it as a custom button to the OSNAP toolbar (I have stalwartly refused to move to the ribbon so far) using the macro I described above. I've never tried creating an alias for an onsap command, perhaps the capability is not there?

Posted

Rusty, what did you add into the pgp file?

 

mm, *m2p

 

or something else?

Posted

i much prefer keyboard entry so, having to type m2p really slows me down (even further :) ). But thanks anyway.

 

I added mm, *m2p to the pgp file but that did not work.

Posted

Its not even in that file? or I can't find it! did a search an found nothing?

Posted

i guess it would be like trying to create an alias for any of the OSnaps right? I mean, m2p is like an OSnap. I'm starting to think that i'm doomed to typing m2p forever :(

Posted

or you could just do what was suggested earlier and hit shift+right click and select it that way. Thats personally how i use all my osnaps.

Posted

Yeah, the osnap shortcut is a dozy, i'd say its much quicker than typing m2p- simply shift/ctrl and right click and then type t, couldn't be faster.

 

I'm surprised to hear that you can't setup your own osnap shortcut supposedly, I'm not sure when making your own tool shortcut menu can you -like the osnap shortcut does- have a one letter alias for the tool. Eg. shift right click and b for boundary or something similar. Anyone know?

Posted

You could also make keyboard shortcut from Tools\Customize\Interface... Simply go to Keyboard Shortcuts\Shortcut keys and drag command from Command list (Snap, Mid between 2 points). When its draged to Shortcut keys, you just edit it and assign SHIFT+key or CTRL+key. I use that for all my snaps (Endpoint, Midpoint, Perpendicular, None, Nearest, Mid between 2 points, Insertion...), and its fastest possible way of using a command. When you learn how to use keyboard shortcuts, AutoCAD gains whole new dimension:)

Posted
Rusty, what did you add into the pgp file?

 

mm, *m2p

 

or something else?

 

Sorry I read it wrong the first time. Thought the desire was to have the capability to type M2P instead of _M2P. I thought you had to type _M2P for it to work... Never really used that option.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...