I've tried using a selection set, I've tried converting the selection set (as in the current code at the bottom) to a vla-object but always get an error error: bad argument type: VLA-object collection: XXXXXX. I am using this code for extracting surface boundaries as a starting point, but am running into trouble when trying to loop through the collection of objects. I am relatively new to working with lisp programming, and am working on create to lisp to toggle on and off the contour label line visibility.