- > myEnum = com.get_enumerator(some_obj_handle) > > for each(obj in myEnum) > obj.blah > obj.splat > .... > endfor > > > Or had you something else in mind? >
The PowerPro for each statement allows plugins to plug into it. for each obj in some_obj_handle obj.splat endfor If you register the signature of com_var as supporting for each and supply a call back, it looks like it might work to me (your "myEnum" var is not exposed to the user but it created in the plugin only). But I must admit I have not looked at the com plugin in detail.
