- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
hello,
I am building a lisp to select mleaders and replace them with new mleaders in the same location (changing note in mleader, with data pulled from object data)
to do this i am going to need to get the start and end point location of the existing leader to plug in to the command to build the new mleader.
I will also use the start point to populate an nentselp to pull new object data from the object at the point.
to better clarify -
i have built a lisp to label a line with an mleader which pulls attributes out of object data.
the best way i can see to automatically update the mleader with new object data (other then doing a find and replace on the text) is to complete delete the original mleader and replace with a new mleader in its exact place which would pull update object data information.
it will be easy to ssget by the layer because all of these are on a specific layer. and then run a for reach to pull the setq variables i need, delete old one, make new one. i am just not sure about how to get the start and end point data out of the existing mleader so that i can plug those values into the setq variables.
can anyone explain the function to do this or at least point me in a direction so that i can do my own searching.
thanks for any help in this,
i can post my starting lisp for the initial mleader if that helps
Solved! Go to Solution.