Jump to content

Recommended Posts

PukaWai

I need to be able to see the direction of a polyline. I've tried the dirarrow.lsp that comes with Map 3d - works but is only temporary. I've seen other lisp that will insert blocks along the pline, but that's no good if you alter the pline.

 

The best solution is a custom linetype with embedded ">" character - if it would only work properly. The issue is that the linetype only follows the polyline direction on straight segments, on arc segments it seems to depend on the arc direction (CW or CCW) regardless of the pline direction.

I've attached a .dwg and a small screenshot. If you grip-edit one of the plines with arcs, you can see the "direction" change as the arc changes from CW to CCW or vice versa.

parcel.dwg

parcel.jpg

Share this post


Link to post
Share on other sites
eldon

Have you tried turning on the Linetype Generation?

Share this post


Link to post
Share on other sites
PukaWai

Think I've used that once eons ago! Unfortunately it seems to make no difference to this problem. Thanks for the thought...

Share this post


Link to post
Share on other sites
eldon

That is curious, because it worked for me.

Linetype Generation.PNG

Share this post


Link to post
Share on other sites
PukaWai

Ah, not so curious. I thought that plinegen was just a global system variable, but now I see it is also an entity property. Problem solved! Thanks for the tip.

Share this post


Link to post
Share on other sites
ela3war

Simply use reverse command

Share this post


Link to post
Share on other sites
eldon
Simply use reverse command

 

How does that help to see the direction of the polyline?

Share this post


Link to post
Share on other sites
BIGAL

I like eldon's idea, in the past exploded the pline pick the 1st section reversed if required then rejoined this made arrows go in correct direction.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×