AutoCAD Short cut key issue

AutoCAD Short cut key issue

Anonymous
Not applicable
981 Views
7 Replies
Message 1 of 8

AutoCAD Short cut key issue

Anonymous
Not applicable

Hi,

Is there anyone know how to assign two commons into one function key? For example, I want to assign "Endpoint" and "Intersection" to F4 key as short cut. Please find attached screenshot i got from our office, but i cant figure out how to do it at my own laptop.

 

If anyone can help, that will great.

 

P.s I am using CAD 2017.

 

Cheers.

 

0 Likes
Accepted solutions (1)
982 Views
7 Replies
Replies (7)
Message 2 of 8

pendean
Community Legend
Community Legend
Explain a little more please: are you asking to help starting and creating/editing the F4 keyboard (which your office should have explained how to do so, might be worth asking them again) or are you saying you did it all and it still does not work?
0 Likes
Message 3 of 8

Anonymous
Not applicable

Hi Dean,

Thanks for your common.

Our office CAD setup by third party company. I dont want to contact them due to their will be fee involve.

What i wan to set up is the shortcut key for function key, like "F4". I have read the post "https://forums.autodesk.com/t5/autocad-forum/function-keys-customization/td-p/3045206" to understand how to assign Function key to one common. But what i want to understand is how to assign Function-key to multiple commands? 

 

For example, currently the default for the keys is noted here:

 

F4

Command:  <3DOsnap on>

 

Alternatively i want to set:

F4

Command:  <Intersection> and

Command:  <Endpoint>

 

 

 

0 Likes
Message 4 of 8

David_W_Koch
Mentor
Mentor

You cannot enter two different Object Snaps back to back in your macro.  That would be no different than doing so at the command line.

 

This macro will set both endpoint and intersection as active running object snaps:

'_.osmode 33 

Note the initial apostrophe.  That is necessary if you want to run this in the middle of a command.  Note also that this will overwrite the previous object snap setting and will leave object snap set to endpoint and intersection, until you set it to something else.  It is not an override.


David Koch
AutoCAD Architecture and Revit User
Blog | LinkedIn
EESignature

0 Likes
Message 5 of 8

Anonymous
Not applicable

Hi David, 

Can you have a look image below, it works on our office CAD setup.

It does work when using "F4" to active "intersection" and "endpoint".

 

Capture.JPG

0 Likes
Message 6 of 8

pendean
Community Legend
Community Legend
Accepted solution
Start CUI command
in the commandlist, create a new command with the function end,int
Drag this new command to the Keyboards Shortcuts>Short Keys section
Select your new command over there
On the right pane, go to Properties > Access > Key(s).
Click where it shows ...
Press F4 to assign it.

APPLY button
OK button

If you get stuck anywhere, Google Search can explain the delicate CUI command functions well, I'll get you started here http://www.ellenfinkelstein.com/acadblog/tutorial-create-a-custom-command/
and with pictures https://www.wikihow.com/Create-a-New-Command-on-Autocad
0 Likes
Message 7 of 8

Anonymous
Not applicable

Thank you very much Dean. you are the life-saver, It works!!!

 

Now i have assigned "endp" and "inter" to "F4" key. Further to my question, when i am using the function key(short cut), it seems like i am not able to change "function key"(short cut) from one ("F" shortcut) to another(”F“ shortcut) straightaway.  For example, when i draw a line and click "F4", it snap to"endpoint". during this process, if i want to click "F3"(nearest point), i have to click two times to make the “F3" to function.  How do i just need to click one time to change "F4" to "F3"? I am not sure i explained well enough for you to undersatnd.

 

 

0 Likes
Message 8 of 8

pendean
Community Legend
Community Legend
If you watch the commandline you'll see the reason for clicking twice: once to end the previous option and once to activate the new option.

That's the flaw with using F-keys for osnaps.

Happy key tapping.
0 Likes