Code Red => AutoLISP (Vanilla / Visual) => Topic started by: osa on November 07, 2022, 03:12:16 AM
Title: Edit LISP to find geometric center and ignore duplicates in a list.
Post by: osa on November 07, 2022, 03:12:16 AM
Hi, I am still in the process of learning AUTOLISP, and would like to edit some script. Recently I asked a question on autodesk and someone gave me this code which I am grateful for. but I have been trying to edit it for the past few days.
basically it selects a polyline, finds intersection points with the polyline and selected objects, then places text at points of intersection
the problem is
1- many times the polyline intersects twice with an object, so it places two text objects
2- the text should be at the geometric center of the polyline or block if necessary to transform it.
i really have tried and it was too complex for my level .. any help would be truly appreciated.