Message 1 of 5
Lisp for auto incrementing values in object data for selected objects
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Good day, my people!
I am looking for a Lisp routine for a specific task that is a bit tedious. I have to set ADE object data for a number of objects (Mpolygons, Polylines, arcs & lines) using ADEATTACHDATA and then select each object and add incrementing values for one of the object data values named OBJECTID starting from 1. It can be a task having to select each object and changing the value when sometimes it can be up to 600 objects.
Can someone please help me craft a Lisp routine that when all the objects are selected, it changes the OBJECTID values for each object starting with value 1 and on, so that no object has the same value?
Thank you so much for time if you are reading this!