Jump to content

custome command


honestbud

Recommended Posts

hi everyone.

hope i write in right place.

 

i have a question :

 

i make a new command and put it into one panel and it is work.

i wrote a macro like that : ^C^Cline or somthing more complex

but when i type it's name it in command line, it dosn’t run anything.

is that normal?

 

i like to create some custome command that i can type them in command line.is there any way!?

(maybe i should use acad.pgp file!)

thanks

Link to comment
Share on other sites

Maybe you are mixing things up a bit. A command alias belongs in the acad.pgp file.

 

A macro can be assigned to a button like you did. Not sure why you need a button/macro for the line command though.

 

The other option is a lisp routine.

Link to comment
Share on other sites

i like to create my costume command. for example i want to rotate one line in a specefic angel. this angel goes from multipying two number. i must calculate these numbers by my calculator then enter them into CAD. i like to create a command that start with this number then multipying them and then rotate the line with result of multipying.after create i like to type this command in command line.

can i do it with custom command?

if answer is NO, i leave this idead alone.

Link to comment
Share on other sites

For the sake of clarity...

 

Use the word "custom" not costume and the word "angle" not angel. Thanks.

 

For what you are attempting to do a command alias would not be the best option. You want to use either a macro or a lisp routine. In either case you'll have to pause for user input.

Link to comment
Share on other sites

For the sake of clarity...

 

Use the word "custom" not costume and the word "angle" not angel. Thanks.

 

For what you are attempting to do a command alias would not be the best option. You want to use either a macro or a lisp routine. In either case you'll have to pause for user input.

 

thanks.sorry for dictation.

now i cant search and learn macro or a lisp routine.thanks for help

Link to comment
Share on other sites

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...