Get element in group

Discussions about SOFTIMAGEs© Interactive Creative Environment©
Victorcg
Posts: 91
Joined: 26 Jun 2009, 08:59

Get element in group

Post by Victorcg » 09 Jun 2015, 12:16

Hello, is there any way to get properties of specific element in group of objects (or in model) in ICE?

User avatar
Mathaeus
Posts: 1778
Joined: 08 Jun 2009, 19:11
Location: Zagreb, Croatia

Re: Get element in group

Post by Mathaeus » 09 Jun 2015, 12:32

Group is an array, so, if there's property that exist on all elements, for example kine.global, you can get this using something like 'get group> get kine.global > select in array' or so. Order of elements is defined by order of group creation - for example, order of selections, before you put objects in group.
If you're using geometry query over group, I'm afraid the only way to differentiate members, is to have an ICE tree on each member, which sets the specific ICE attribute.

Victorcg
Posts: 91
Joined: 26 Jun 2009, 08:59

Re: Get element in group

Post by Victorcg » 09 Jun 2015, 19:45

Thank You. Everything worked fine. Just forgot ICE a little bit.