Jump to content

reversing direction of arrow linetype


Recommended Posts

Posted

Hello,

I am using a custom arrow linetype, which is defined by the following code in my acad.lin support file:

 

*ARROW,Arrow1 > > > > > > >

A,.000001,-3,["\U+25BA",Standard,S=3,R=0,X=-1.35,Y=-1.35],.000001,-4

 

It works great, but I need to figure out a way to create another linetype which is similar but with the arrowheads pointing in the reverse direction. Does anyone know how to modify the code to get this result? Or is there a simpler way to reverse the orientation of the arrows?

 

I am working in acad 2008. I think there is a command in acad 2010 (RVRSLINE) which does what I want, but I don't have that version...

Please help!

much thanks,

clicker

Posted

Check this link out and the code offered by alanjt and CAB, perhaps might help.

Posted

Or perhaps you could make another linetype using "U+25C4" instead of "U+25BA"

Posted

Isn't there a lisp that will do this (reverse a linetype)?

Posted

Why don't you just rotate the line at the mid point?

Posted

OK here ya go -

 

*ARROW2,Arrow2

A,.000001,-3,["\U+25BA",Standard,S=3,R=180,X=-1.35,Y=-1.35],.000001,-4

 

notice the red stuff I changed.

 

I know this isn't a command to automatically change the direction, but at least it's another option besides rotating the line.

Posted

the lisp worked great, thanks all!

Ryder- yes, I could rotate the line, but that would be more time consuming, I was looking for a quicker way...

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