Jump to content

Recommended Posts

Posted

I have a quick question. I would like to start learning and understanding macros and LISP since running AutoCAD is my career choice. I have a command that I used to use in a previous release of Autocad that is no longer in the version I use. It was the extend command, but it doesnt work the way that I would like it to. I found the steps I need to take to my liking, but when I tried to make the macro, it is not right (which I figured it wasnt going to be). I just need to know how to type the macro in properly.

 

The following is the steps I take without having a macro

1. Press ex (extend)

2. Press enter

3. Press enter

4. Press e (edge)

5. Press enter

6. Press enter

7.Select the first line.

8. Select the second line.

 

I would like this command to make my lines that are not directly in path with eachother to meet at their intersection.

 

I hope that this is not too difficult to understand.

 

Thank you

Posted

Nevermind, I figured it out.

Posted

Consider posting your solution for others to find. ;)

Posted

Good Idea-

 

My goal was to basically use the chamfer command. I dont use that command too often and I dont like that you have to pick the lines vs click and drag to highlight.

 

The macro I used is as follows.

 

^C^Cextend;;e;;

 

It is a quick click the button and highlight the first line then hit enter and then highlight the send line and they will extent to eachother.

 

Now if I can only find a way to make a shortcut keyboard for this command.......

Posted

It seems very curious to me that you prefer to highlight a line and then press enter, rather than just picking a line. You seem to be doing more work rather than less :?

 

Have you considered using Fillet? Just two clicks with no entering would accomplish what you appear to want. (have to set the radius at zero the first time only)

Posted
It seems very curious to me that you prefer to highlight a line and then press enter, rather than just picking a line. You seem to be doing more work rather than less :?

 

Have you considered using Fillet? Just two clicks with no entering would accomplish what you appear to want. (have to set the radius at zero the first time only)

 

You could even create a toolbar button that would set the radius to zero without having to remember to do it.

Posted

I suppose I could. It just makes me feel better about myself and my skills when I can accomplish little things like this.

Posted

That's the great thing about this forum and AutoCAD. Ask 50 people how to do something, you get 50 different answers and at least 48 of them will work. Just pick the one you like best!

  • 3 weeks later...
Posted

No special macro needed with Fillet, no matter what the radius is set to just hold down the shift key when selecting the lines and it will Fillet with a radius of 0.

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