Tip: ICE Attribute References in Compounds

Discussions about rendering in SOFTIMAGE©
User avatar
rray
Moderator
Posts: 1810
Joined: 26 Sep 2009, 13:51
Location: Bonn, Germany

Tip: ICE Attribute References in Compounds

Post by rray » 19 Jun 2012, 20:29

Another obscure tip.. again only applies if using PPGLogic to create the Layout of a custom Render Tree Compound (Will also work for ICE Compounds probably)

If you ever wanted to add a ICE Attribute combo box, this can be done via

Code: Select all

oItem = oLayout.AddItem("output_attributes", "Attribute", "ICEAttributeWidget.ICEAttributeWidget");		
This defaults to scalar types. To use different types use this:

Code: Select all

oItem.SetAttribute("iceattribute_type","vector3, vector4");
softimage resources section updated Sep 26th 2026