Jump to content

Drawing lines and spline with double sided arrows


geocad

Recommended Posts

Hello everyone,

 

I am new to these forums and have a question which I hope is easy to answer.

 

I need to be able to draw lines and spline with arrows on each end. Up until now I have been using two leaders to do this, but I feel that there must be a better way of doing this. So can I draw a single line or spline that will have arrows on each end?

 

Thanks in advance for any help.

Link to comment
Share on other sites

I am tracing points that are an alignment. I need to indicate that the feature continues past the points by using arrows on either end. I am not worried about distances or anything else.

Link to comment
Share on other sites

Will this work for curved lines?

 

Not sure for definite. Maybe if you make the block with arcs and add some control points?

 

I'll see if I can make one and let you know; if you dont beat me to it.

Link to comment
Share on other sites

I think you might need to play around with rotation actions and blocks within blocks.

 

What I am attempting now is to make a linetype that will just put one arrow at each end. You may need to keep the linetype generation disabled, but it might work.

 

5 minutes, mate.

Link to comment
Share on other sites

The best I can do is to say create a dimension and turn of both of the extension lines and then override the text with nothing but a few spaces.

 

If you hacve lots of these to do then you can do the text overrides globally at the end.

 

If you want to add a curved line you will need to draw an arc and then use the arc dimension tool.

 

I hope you find a solution. It would be great if someone could tell us how to make a dynamic block act in this way.

Link to comment
Share on other sites

I will give those a try. Do you know if there is anyway of editing the qleader command to possible achieve the double arrow spline? Thanks for all your help.

Link to comment
Share on other sites

I thought about this since I read the post, thinking it could be done with a lisp, I'm sure, which is above my paygrade still... so I started playing with this macro. It will insert a block of the arrowhead you use, (mine is called "splaro") , just make a block of the arrow you want and save it in a folder in your search path, or save thsi one there. Add the Macro to a tool palette, or a toolbar as a button or it can be added to your acad.lsp to use a keyboard shortcut. probably several other ways to use it too.. you set the 2 arrow blocks then draw the splinePas you need. kinda simple routine but saves a few keystrokes..... It's just one way of doing this. possibly Lee Mac, Lpseifert, asmi, or a few of the other good code writers can elaborate on this simple code and show us a better way.... we'll all learn a little...

 

^C^C(command "insert" "splaro" pause "" "" pause)(command "insert" "splaro" pause "" "" pause)(command "SPLINE" "insert" pause))

splaro3.gif

splaro.dwg

Link to comment
Share on other sites

Thanks for the help, I will give it a try.

 

 

I thought about this since I read the post, thinking it could be done with a lisp, I'm sure, which is above my paygrade still... so I started playing with this macro. It will insert a block of the arrowhead you use, (mine is called "splaro") , just make a block of the arrow you want and save it in a folder in your search path, or save thsi one there. Add the Macro to a tool palette, or a toolbar as a button or it can be added to your acad.lsp to use a keyboard shortcut. probably several other ways to use it too.. you set the 2 arrow blocks then draw the splinePas you need. kinda simple routine but saves a few keystrokes..... It's just one way of doing this. possibly Lee Mac, Lpseifert, asmi, or a few of the other good code writers can elaborate on this simple code and show us a better way.... we'll all learn a little...

 

^C^C(command "insert" "splaro" pause "" "" pause)(command "insert" "splaro" pause "" "" pause)(command "SPLINE" "insert" pause))

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