Message 1 of 8
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am trying to change the PlotStyleName of most of the 200 layers in one drawing.
Using vlax-for on the document's layer collection, it errors out on processing the 65th item...
(vlax-put Layer 'PlotStyleName name)
; error: AutoCAD.Application: Key not found
The same holds true for vlax-map-collection.
Is there some limitation? Should I change the collection to a list? Would an occasional (gc) help?
John F. Uhden
Solved! Go to Solution.