Jump to content

Drawing a line with one or two arrow ends


Recommended Posts

Posted

Please help me, I am now using AutoCAD 2007 and I am a new AutoCAD user. How can I draw a vector or a line with one or two arrow ends in AutoCAD :twisted: ? It is really simple to do that in MS Word :) ! Thanks!

Guest Alan Cullen
Posted

You could have arrow heads as a block and insert them....or you could draw a LEADER.

Posted

Thank you Alan Cullen, now I can use the LEADER command. Still I have another question, I will post a new thread!

Posted

You could draw a line of the correct length you want, then make a short dimension line, explode that small dimension, move the arrows of the exploded dimension line to where you want, and then delete the left-overs of that exploded dimension line...

Posted

A dbl arrowed Dynamic Block with a Stretch and Rotation feature would be easy to create and use. You can then assign it to a tool palette from which you can drag it into your current drawing.

 

Easy...

  • 2 years later...
Posted

Rockford, that sounds perfect... how might one create such a tool?

Posted

Irding: The post you are inquiring about is over two years old.

 

I notice you are using AutoCAD 2000. If that is correct then you will not be able to use Dynamic Blocks since they were not a feature that release.

Posted

tichech, welcome to the forums, where are you posting from?

 

Use the "leader" command; properties set what you want!

Posted

Not you too Tankman. titech posted in 2007. With just 3 posts I'm pretty sure he's been busy doing something else.

Posted

Here's something quick and simple:

(defun c:DblArw (/ #Pnt1 #Pnt2)
 (and (setq #Pnt1 (getpoint "\nSpecify leader start point: "))
      (setq #Pnt2 (getpoint #Pnt1 "\nSpecify next point: "))
      (not (command "_.leader" "_non" #Pnt1 "_non" #Pnt2 "" "" "_none"))
      (command "_.leader" "_non" #Pnt2 "_non" #Pnt1 "" "" "_none")
 ) ;_ and
 (princ)
) ;_ defun

  • 3 years later...
Posted
Here's something quick and simple:

(defun c:DblArw (/ #Pnt1 #Pnt2)
 (and (setq #Pnt1 (getpoint "\nSpecify leader start point: "))
      (setq #Pnt2 (getpoint #Pnt1 "\nSpecify next point: "))
      (not (command "_.leader" "_non" #Pnt1 "_non" #Pnt2 "" "" "_none"))
      (command "_.leader" "_non" #Pnt2 "_non" #Pnt1 "" "" "_none")
 ) ;_ and
 (princ)
) ;_ defun

 

How do you use that?

Posted

It's a lisp routine. Load it with the APPLOAD command. Run it by typing DBLARW at the command line and follow the prompts.

 

First though you'll have to copy and paste it into Notepad and save it with the .lsp file extension. Name it anything you like. You do know how to do all this right?

Posted

Going to give it a try, don't think I will break anything :P

Posted

If you do, my name is Dadgad.:lol:

 

Good luck. Seriously.

Posted

Worked perfectly, thanks a lot.

 

Is it possible to create a button, that activate the DWLARW command?

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