ICE tip #5989 - hide stuff in compounds dynamically

Discussions about SOFTIMAGEs© Interactive Creative Environment©
User avatar
rray
Moderator
Posts: 1810
Joined: 26 Sep 2009, 13:51
Location: Bonn, Germany

ICE tip #5989 - hide stuff in compounds dynamically

Post by rray » 15 Feb 2016, 21:32

There's a PPG logic section in the compound properties for ICE compounds, just as there is for render tree compounds.

But it's quite limited compared to render tree compounds.

What works well hovever is dynamically Showing/Hiding parameters.

For example use this script to hide a profile curve you don't need so it won't take away valuable space in your compound's PPG.

Code: Select all

def Active_OnChanged():	
		PPG.ProfileCurve.Show(PPG.Active.Value)
==OFF==
Image

==ON==
Image
softimage resources section updated Sep 26th 2026

anhungxadieu
Posts: 175
Joined: 17 Apr 2014, 08:39
Skype: nguyenvuducthuy

Re: ICE tip #5989 - hide stuff in compounds dynamically

Post by anhungxadieu » 16 Feb 2016, 01:49

cool, thank!
Until now i really don't know how to hide fcurve when it's always show up :ymblushing:

Pooby
Posts: 501
Joined: 27 Aug 2010, 20:25

Re: ICE tip #5989 - hide stuff in compounds dynamically

Post by Pooby » 16 Feb 2016, 09:24

Looks very useful, thanks. I have a few compounds where those Fcurves overpower everything

danyargici
Posts: 56
Joined: 09 Nov 2009, 09:58

Re: ICE tip #5989 - hide stuff in compounds dynamically

Post by danyargici » 16 Feb 2016, 09:31

Indeed, overpowering is the perfect description. Would have been good to know about over the years!

User avatar
rray
Moderator
Posts: 1810
Joined: 26 Sep 2009, 13:51
Location: Bonn, Germany

Re: ICE tip #5989 - hide stuff in compounds dynamically

Post by rray » 16 Feb 2016, 09:56

Glad it's of use! One thing to mention is there should probably be another copy of the line

PPG.ProfileCurve.Show(PPG.Active.Value)

in the on init callback as well. Not sure whether it's necessary.
softimage resources section updated Sep 26th 2026