Message 1 of 4
How to retrieve and remove associative array
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
Apologies if this has an easy solution..
I am programmatically creating multiple polar arrays in AutoCAD using AssocArray.CreateArray. Each array is based on a Circle entity and follows standard AssocArrayPolarParameters.
After saving and reopening the drawing, I need the ability to remove specific polar arrays programmatically.
1) How do i retrieve the AssocArray? What identifier would I need to store to retrieve it, there is no handle?
2) Once i have retrieved my AssocArray, how do I remove it and the circles from the drawing? I see there is a DeleteItem method, I could just loop round the number of circles and remove each one?
Many thanks,
Bethan