Scripting: static collection 2004-03-09 - By Christian Rittener
Back Hello,
I'm trying to go all OOP, so please be indulgent.
In Jscript, I'm trying to use ExtractFromComponents while looping through aselection of geometries and then looping through their respective clusters. As soon as a new object is created, it becomes selected, screwing up my outer loop. How do get the selection collection to remain fixed to what it is at the beginning of the script? I tried copying Selection into a new collection, with
ch_coll = new ActiveXObject( "XSI.Collection" ) ; ch_sel = selection ; ch_coll = ch_sel ;
and looping through the second collection, but the same thing happens... ???
Christian Rittener
--- Unsubscribe? Mail Majordomo@(protected) with the following text in body: unsubscribe xsi
|
|