Commands or Keyboard Alias…

Commands or Keyboard Alias…

Anonymous
Not applicable
1,192 Views
9 Replies
Message 1 of 10

Commands or Keyboard Alias…

Anonymous
Not applicable

hi,

 

I want to create command aliases for multiple point because I am using it too much.

 

I treid different ways could do it.

 

thanks

0 Likes
Accepted solutions (1)
1,193 Views
9 Replies
Replies (9)
Message 2 of 10

Patchy
Mentor
Mentor
Accepted solution

Another way is put acaddoc.lsp into a folder that autocad can use it, like SUPPORT folder in autocad.

Then restart your autocad, use command MP

 

 

0 Likes
Message 3 of 10

elshawadfy
Collaborator
Collaborator

Hi @Anonymous,

 

You couldn't crteate the shortcut because although threre is an icon that's called "Multiple Points" and does just that, that functionality is not a an actual specific command, it's the point command but repeated... that repitition was asheaved through something called "macros"..

If you applied the cui command, and in the searchbox searched for that command, and checked it's macro, you will find an asterisk (*) then the comaand, and that asterisk is responsible for it's repitition..

 

@Patchy saved you the trouble and created a code for you that does just that, you can add it's cotents to your acaddoc.lsp...

0 Likes
Message 4 of 10

Anonymous
Not applicable

Thanks it works. but now every time i load autocad it says this message . Can i get rid of this message 

 

Regards,

 

0 Likes
Message 6 of 10

TheCADnoob
Mentor
Mentor

could you have used ALIASEDIT or am i missing the question

CADnoob

EESignature

0 Likes
Message 7 of 10

Patchy
Mentor
Mentor

Is there a command MULTIPLEPOINTS in autocad to insert points without hitting enter each time?

That is the reason.

0 Likes
Message 8 of 10

elshawadfy
Collaborator
Collaborator

Hi every one,

 

@Patchy & @TheCADnoob, as I said in my earlier post there is an icon that's called "Multiple Points" and does just that (in the Drafting and annotation workspace >The ribbon, Home tab, Create panel, (hit the small arrow below to see the hidden buttons) Multiple points),

 

That functionality is not a an actual specific command, it's the point command but repeated... that repetition was achieved through something called "macros"..

If you applied the cui command, and in the search box searched for that command, and checked it's macro, you will find an asterisk (*) then the command, and that asterisk is responsible for it's repetition..

 

Since it's not an actual command different from the ordinary point command, he was not able to assign a short cut to it..

 

There are many ways to achieve the same functionality, one being to create a lip code that loads within acaddoc.lsp so that it loads with every file, and that's what @Patchy did, and he even provided the code..

 

 

As for the message that you get  @Anonymous, the reason behind it is a safety measure that Autocad takes to control the applications that are being loaded.. In the options dialog box > system tab > security options > there are 3 security levels, High doesn't allow loading executables from outside the trusted locations.. Medium (default) asks you before loading and gives the message you attached.. and Low - which is not recommended - loads applications from anywhere without warnings.. Below that there is a list of trusted locations..

now you can either add the place where the lisp you are loading to this list, or copy the lisp to one of these locations, and add it to the start up suite in the appload command..

 

Good luck..

0 Likes
Message 9 of 10

TheCADnoob
Mentor
Mentor

@Patchy wrote:

Is there a command MULTIPLEPOINTS in autocad to insert points without hitting enter each time?

That is the reason.


Ack.. thanks, I had the wrong recollection of ALIASEDIT. 

CADnoob

EESignature

0 Likes
Message 10 of 10

TheCADnoob
Mentor
Mentor

during my reeducation i created a walkthrough for adding a keyboard short cut. 

Its not an alias, but a viable option. 

CADnoob

EESignature

0 Likes