Quickest way to remove vertices from polyline

ralstogj
Collaborator
Collaborator

Quickest way to remove vertices from polyline

ralstogj
Collaborator
Collaborator

Hi

 

I am wanting to know if there is a quick way to remove multpile vertice between two selected vertices

instead of the pe command and straighten?

 

 

Regards

Justin Ralston
http://c3dxtreme.blogspot.com/
0 Likes
Reply
Accepted solutions (2)
135,871 Views
28 Replies
Replies (28)

ralstogj
Collaborator
Collaborator
Accepted solution

Answer my own question again

 

Weedfeatures->Partial select the start and end point between where you want to weed set the settings to just length and some large value and the line will straight.

 

I bit tricker if the start and end point of the polyline are with the section being straightene as you have to do in two steps.

up to that point then remove manually.

Regards

Justin Ralston
http://c3dxtreme.blogspot.com/

Joe-Bouza
Mentor
Mentor

Map work space>>> Tools>>> cleanup. can go automatic or interactive

Joe Bouza
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Neilw_05
Mentor
Mentor

Sometimes it's easier to just break it at 2 points, delete the unwanted piece and add a new one.

Neil Wilson (a.k.a. neilw)
AEC Collection/C3D 2024, LDT 2004, Power Civil v8i SS1
WIN 10 64 PRO

http://www.sec-landmgt.com

ralstogj
Collaborator
Collaborator

Yep

 

Break and then close the pline would be quicker

 

Regards

Justin Ralston
http://c3dxtreme.blogspot.com/
0 Likes

neilyj666
Mentor
Mentor

Is the MAPCLEAN > WEED only applicable to 3D polys??

 

If reducing the number of vertices in 2D/contours then I use a lisp which does it for me...... 

neilyj (No connection with Autodesk other than using the products in the real world)
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


AEC Collection 2025 UKIE (mainly Civil 3D UKIE and IW)
Win 11 Pro x64, 1Tb Primary SSD, 1Tb Secondary SSD
64Gb RAM Intel(R) Xeon(R) W-11855M CPU @ 3.2GHz
NVIDIA RTX A5000 16Gb, Dual 27" Monitor, Dell Inspiron 7760

Joe-Bouza
Mentor
Mentor

Correct. Use simplify objects for 2d

Joe Bouza
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Likes

jmayo-EE
Mentor
Mentor

Either can be used on 2d or 3d plines depending on what you want. Simplify will oonly delete colinear pi's. Weed may delete this pi depending on the angle setting and can change the direction of a course. I would most likely use weed on contour lines and I would simplify something like a curbline.

John Mayo

EESignature

Dylandavid
Participant
Participant

Very Easy!

command:                 DeleteFeaturePI

Ribbon:                      ModifyTab->EditGeometry->DeletePI 

HelpFile description:   Deletes a selected vertex on a feature line, survey figure, polyline, or 3D polyline.

 

Available in C3D, not sure about other versions.

Anonymous
Not applicable

WOW! DeleteFeatuePI worked perfect! Never heard of it before and this will help a ton!

THANK YOU!

0 Likes

Anonymous
Not applicable

the lisp super useful ****. Great thanks from hong kong user

0 Likes

neilyj666
Mentor
Mentor

Great - please feel free to give Kudos...:)

neilyj (No connection with Autodesk other than using the products in the real world)
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


AEC Collection 2025 UKIE (mainly Civil 3D UKIE and IW)
Win 11 Pro x64, 1Tb Primary SSD, 1Tb Secondary SSD
64Gb RAM Intel(R) Xeon(R) W-11855M CPU @ 3.2GHz
NVIDIA RTX A5000 16Gb, Dual 27" Monitor, Dell Inspiron 7760
0 Likes

Anonymous
Not applicable

OMG YOU ARE ALL SOOOOO VERY

 

JUST FLOAT YOUR CURSOR OVER THE VERTEX A WINDOW POPS UP GIVING YOU THE OPTION TO REMOVE VERTEX

THEN YOU REMOVE THE VERTEX!!!!

 

HONESTLY

 

0 Likes

Anonymous
Not applicable

Of course that is possible and quicker than most options but I dont want to spend an hour deleting over 500 vertices from a line by hovering each vertex and waiting a second of two for the window to pop up.

jmayo-EE
Mentor
Mentor

And if you have a handful or so to delete the Delete PI command is faster than hitting the menu at ever vertex. But for one or two, yes the autocad command works great.

John Mayo

EESignature

Johanyak
Explorer
Explorer

select the polyline , move your cursor to the vertex you wish to delete. A menu should appear and select remove vertex.

 

vertex.png

0 Likes

Anonymous
Not applicable

hello all

 

you can use the PEDIT command and yes, it does work for 3D polylines (at least in 2018)

select the pline and move along the vertices to the start of the section to be straighten, enter S (straighten) and then next to move to the next vertice,

continue along the pline to the end of the section to be strainghten and enter G for go, and the vertices between the start and end points are gone.

Works very well for changing small plines and holds the elevation for the start and end point on a 3d polyline.

 

nonbeard13

Anonymous
Not applicable
Nonbeard13,

That is a great new feature that I never know about!

Thanks for sharing.
0 Likes

tcorey
Mentor
Mentor

The OP said he/she wanted options other than this one, but it's still my favorite. It gives you direct control of where to straighten and takes seconds.

 

The sad thing is that so few newer (and even many very experienced) users even know about PEDIT. Anyone who is a curious AutoCAD user should explore this command.



Tim Corey
MicroCAD Training and Consulting, Inc.
Redding, CA
Autodesk Gold Reseller

New knowledge is the most valuable commodity on earth. -- Kurt Vonnegut

neilyj666
Mentor
Mentor

It is still a bit painful if you have many vertices and the first one is many clicks from the start (as is the final one)....

neilyj (No connection with Autodesk other than using the products in the real world)
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


AEC Collection 2025 UKIE (mainly Civil 3D UKIE and IW)
Win 11 Pro x64, 1Tb Primary SSD, 1Tb Secondary SSD
64Gb RAM Intel(R) Xeon(R) W-11855M CPU @ 3.2GHz
NVIDIA RTX A5000 16Gb, Dual 27" Monitor, Dell Inspiron 7760
0 Likes