Jump to content

Snap to 2D polyline


Rooster

Recommended Posts

Firstly, what's the difference between a bog-standard polyline and a 2D polyline?

 

And secondly, why can't I snap to a 2D polyline? It's driving me nuts....

 

 

EDIT: I've noticed that it's not all 2D polylines that I can't snap to. I have others in the same layer, with the same properties which are fine...... ????????

Link to comment
Share on other sites

Quoted from CAD Panacea:

 

 

Confused about the various polyline types that you see in AutoCAD?

 

From the end user perspective there are 3 polyline types listed in the PROPERTIES command, even though there are only two "entity" types.

  • polyline - this is an LWPOLYLINE entity, always 2D.
  • 2d polyline - this is a POLYLINE entity, also 2D.
  • 3d polyline - this is a POLYLINE entity, usually 3D, with each vertex at a different elevation. It is possible to have a "3d polyline" and have each vertex at the same elevation.

If you use the LIST command on any polyline, you will only see the

entity names (POLYLINE or LWPOLYLINE).

 

POLYLINE entities are the original type. LWPOLYLINE entities were introduced in R14.

 

If PLINETYPE = 0 (zero), then the PLINE command will create POLYLINE entities.

If PLINETYPE = 1 or 2, then the PLINE command will create LWPOLYLINE entities.

 

To create 3d polylines, use the 3DPOLY command.

 

To convert between POLYLINE and LWPOLYLINE entities, use the CONVERTPOLY command.

 

Link to comment
Share on other sites

3DPoly - Definition taken from AutoCAD Help:

 

"A 3D polyline is a connected sequence of straight line segments created as a single object. 3D polylines can be non-coplanar; however, they cannot include arc segments."

Link to comment
Share on other sites

I'm not sure why you are having trouble snapping to some 2D polylines. Might it have something to do with the UCS orientation at the time of their construction versus its current orientation?

Link to comment
Share on other sites

  • 8 months later...

I don't mean to bring back an old thread...but just wondering if you ever figured out why you couldn't snap to 2D polylines? I am having the same problem right now and I am getting very frustrated with it.

Link to comment
Share on other sites

Well, it should be mostly 2D, however some of the Civil3D objects are drawn at their respective z value (such as spot elevations). All the line work should be 2D though, which is what I am wanting to snap to.

Link to comment
Share on other sites

I have never really noticed it before, but usually the lines are just regular 'polylines' as opposed to '2D polylines'. If I explode the '2D polyline' into lines I can snap to endpoints (or anything) like normal.

 

Just so I am clear on this...I should be able to snap to these '2D poylines' right?

 

If so, maybe I should just try to restart AutoCAD and see what happens.

Link to comment
Share on other sites

Well, restarting AutoCAD and my computer (thanks to Microsoft Automatic updates) did not rectify the problem. Maybe I will just have to live with exploding them and converting to regular polylines.

Link to comment
Share on other sites

  • 11 years later...

You maybe are using some lisp that is changing your settings.
This is happening with Polyline when "Polylinetype" is set wrong. Type "Polylinetype" then set the value to 1. Now you can snap to it, no need to explode or use "convertpoly" every time you draw

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