Jump to content

Custom Commands not being recognized?


Recommended Posts

Posted

I have creating a command that uses the ployline edit command and join option.

 

The name of this command is polyjoin.

 

I have created an alias for this command...PJ

 

I have created the macro for this command. It is as follows

^C^C_pedit;\;j;\\\\;;

 

This allows me to pick a line to change to a polyline, select 4 lines, and make a closed polyline with those 4 lines. This makes a rectangle polyline from 4 lines.

 

I have put this command in a toolbar w/ image and the command works fine.

 

The problem is that I cannot type polyjoin or pj at the command line and get this macro to start. It will only work from the button.

 

My question is what do I need to do to get the custom command to work at the command line?

 

I am using AutoCAD LT 2010

 

thanks

Posted

That's because it's a macro (more or less a series of keystrokes) and not a command. You can't make an alias for a macro. LT sucks; if it was full Acad you could make it a command.

Posted
That's because it's a macro (more or less a series of keystrokes) and not a command. You can't make an alias for a macro. LT sucks; if it was full Acad you could make it a command.

 

Thanks, that is what I figured it would be.

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