Guidance Requested For Pedit - Join

Guidance Requested For Pedit - Join

timothy_crouse
Collaborator Collaborator
793 Views
7 Replies
Message 1 of 8

Guidance Requested For Pedit - Join

timothy_crouse
Collaborator
Collaborator

 

I am trying to add a PEDIT Join MACRO to the Right Click EDIT Short-Cut Menu

Having Trouble getting the code to work with pre-selected objects

 

I posted the original question as it is related to the same subject in the thread:

 

https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/polyline-join-macro/m-p/5365323/high...

 

Thanks in Advance

Tim C.

0 Likes
794 Views
7 Replies
Replies (7)
Message 2 of 8

ВeekeeCZ
Consultant
Consultant
Any reason why you don't want to use the JOIN command?
^c^cjoin
0 Likes
Message 3 of 8

timothy_crouse
Collaborator
Collaborator

The Join Command Remove Vertices from the pline in a join operation.

 

-Tim

0 Likes
Message 4 of 8

marko_ribar
Advisor
Advisor

Not sure for vertices, but FYI I found a BUG in JOIN command...

If it can help you somehow, I suggest that you use this lisp that incorporates JOIN command and does the same task as JOIN, but I suppose without bugs (not 100% sure, so that's why all suggestions and testings are welcomed)...

 

http://www.theswamp.org/index.php?topic=55918.msg599313#msg599313 

Marko Ribar, d.i.a. (graduated engineer of architecture)
0 Likes
Message 5 of 8

ВeekeeCZ
Consultant
Consultant

Your not saying whether you'ron LT or not. If not, use Henrique's LISP from another thread.

Put the lisp to the suitcase and use ^c^cmypedit macro.

0 Likes
Message 6 of 8

ВeekeeCZ
Consultant
Consultant

Aren't they all somehow buggy?! JOIN, PEDIT, MPEDIT... pick one. 

0 Likes
Message 7 of 8

john.uhden
Mentor
Mentor

I'm guessing I have submitted this before, but here it is again.  It is one of my favorites as it...

a)  Checks for locked layers

b)  Warns of elevation differences and will change if desired

c)  Provides choice of moving proximitous vertices or adding a new segment if over user-selected tolerance.

d)  Stops if polyline becomes closed.

e)  Includes Undo control

f)  Provides option to close if not already.

g)  Handles UCS differences

h)  Continuously highlights selected entity

 

The only downside is that it can work on only one entity at a time, IOW you can't do any batch processing.  A lot of it is "old school" but it still works in C3D 2020.  It's too bad they lobotomized Land Desktop AECC_contours because I have another that could join them to lines, arcs, polylines, and other contours, but that's ancient history now.

John F. Uhden

0 Likes
Message 8 of 8

timothy_crouse
Collaborator
Collaborator

Thank you all for the replies.

 

I will give the lisp a try

0 Likes