Jump to content

How To Create My Own Command?


Recommended Posts

Posted

Can I create my own custom command?

 

If yes, how to?

 

Thank you

Posted

Want to give us a hint (as in the name of this command) or shall we just guess?

 

I'll go first.

 

UNEXPLODE

 

Now it's your turn.

Posted
Want to give us a hint (as in the name of this command) or shall we just guess?

 

I'll go first.

 

UNEXPLODE

 

Now it's your turn.

 

I do not understand what is meant by your above question.

 

What I meant by a command is such as line, arc, spline, extend, trim, extrude, revolve, etc, which you be able to type inside the command box such as attached image.

commandbox.jpg

Posted

What task do you want your command to perform? If it's something simple, then maybe you can do it yourself, but if it's something complex, you will need to ask someone in the Lisp section of the forum for help. But the first step is explaining what you want your command to do.

Posted

What command do you want to create? Details appreciated.

Posted

Oldfart

 

OBJECT is LINE DELETE and FILLET with ARC of RADIUS TANGENT to line deleted

Posted

So you named a command after yourself?:shock::lol:

Posted

For sure, as stated above, for a precise response will need to have more details from you. Anyway, there are 4 solutions to define a new command inside AutoCAD:

  • AutoLISP
  • VBA (Discontinued, but available as enabler. Also will need some extra code to run as command.)
  • ObjectARX (C++)
  • .Net API

For simple solutions may check also the scripts - successions of commands.

Posted

And don't forget macros. They are basic but effective.

Posted

Based on OP's previous started threads were he/she is asking for advice on construction of complex curves, I'm wondering if is really looking for a user defined command or the question is in fact about a custom entity type?

Up to my knowledge, custom entities were possible only by ObjectARX technology.

Posted

One can never quite tell what is wanted when requests are vaguely worded. Example: "Help, my car won't start."

Posted
One can never quite tell what is wanted when requests are vaguely worded. Example: "Help, my car won't start."
have you kicked the tyres (tires)?
Posted
One can never quite tell what is wanted when requests are vaguely worded. Example: "Help, my car won't start."

Funny you should say that, couldn't crank my baby over this yesterday morning,

then to finish off the day, got a speed ticket for my trouble.:x

Dodge

  • 2 weeks later...
Posted

Hey flat tyre

 

Just roll it so flat spot is at top !

Posted
Hey flat tyre

 

Just roll it so flat spot is at top !

I have a camper van I haven't used for 3 years. There's a good chance I could roll it and get the flat to the top.

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