A) Internally, Softimage stores IDs by order of creation. This has nothing to do with the setting in the explorer/schematic views. Any setting to view the data in another order (alphabetical, size, etc..) is separate and done purely for visual feedback purposes.
B) The provided script excerpt only demonstrated how to get/set weights using a griddata object. To make it functional in context of what you're doing you'll need to provide more infrastructure.
Matt Date: Thu, 5 Feb 2015 10:14:55 +0000 From: pedro santos <[email protected]> Subject: Re: Know the ID of an Object in an Envelope and Group? Copy Weights? Partial Gator? To: Softimage Mailing List <[email protected]> @Matt Lind A) Indeed I seem to be at fault for having the order to "Type + Alphabetical" instead of "None(creation)": http://prntscr.com/61ahpv. With that selected the group does show in it's ID order. Thanks B) Agreed that some of these are certainly more script oriented operations, tweaks, that do not require non-destructibility and dynamic feedback. ICE is comfy though... Deals with "API" details, comes with a UI almost for free and you can see the algorithms results as you build them, certainly not always important, but it's nice when coupled with the "display properties" in context. I ended up making some compounds even though I recognize they are not the most practical. https://vimeo.com/118719552 Thanks for the script example, I couldn't make it run as it returned an error: http://prntscr.com/61ao2j Thank you all I'm sorted :D Always love when exploring programmatic solutions, be it by code or ICE, I end up building up small algorithmic solutions that help me in other tasks :) Cheers

