Jump to content

Drawing a line with one or two arrow ends


titech

Recommended Posts

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!

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 2 years later...

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 3 years later...
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?

Link to comment
Share on other sites

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?

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