Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Need help creating a Polyline LISP

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
Gelby4
408 Views, 2 Replies

Need help creating a Polyline LISP

I haven't found one anywhere, and I'm barely a novice at writing LISPs. I would love if someone could help me out.

 

I'm trying to create a LISP that will let me remove multiple vertices from a polyline/hatch boundary at once. Rather than remove each vertex one-by-one, I'd like to be able to window-select and/or click-select multiple vertices, and then have the ability to remove them and simplify the polyline/hatch boundary to keep it closed.

 

Attached is an example I'm asking for.

 

 

Thanks,

Tyler

Tags (1)
2 REPLIES 2
Message 2 of 3
tcorey
in reply to: Gelby4

Even without using AutoLISP, you can do this easily with the Pedit command.

 

Pedit, Edit Vertex, Next up to the start of the edit area, Straighten, Next to the end of the edit area, Go. X to exit, X to exit.

 

Best regards,

 

Tim

 

 



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

New knowledge is the most valuable commodity on earth. -- Kurt Vonnegut
Message 3 of 3
3wood
in reply to: Gelby4

Another method without using plug-in is using BREAK command to break the polyline between 2 points first, then use PEDIT to close it.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost