Message 1 of 6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello
I am attempting to use VBA in Acad 2007 to renumber a series of text objects based on their relative positions. (The text is numerals only.) The programs works well at first, but if I erase some of the text objects, it crashes. I noticed that if I start with 20 text objects in the drawing, and then erase 1, AutoCad reports 19 objects selected while ssetObj.Count is still equal to 20. Apparently the erased objects are still being returned by ssetObj.SelectOnScreen. To make sure I ran the example from a new drawing with only the text objects. Any ideas?
Thank you
John
Solved! Go to Solution.