ICE tip #5989 - hide stuff in compounds dynamically

Discussions about SOFTIMAGEs© Interactive Creative Environment©
Post Reply
User avatar
rray
Moderator
Posts: 1775
Joined: 26 Sep 2009, 15:51
Location: Bonn, Germany
Contact:

ICE tip #5989 - hide stuff in compounds dynamically

Post by rray » 15 Feb 2016, 22: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 Jan 5th 2024

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

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

Post by anhungxadieu » 16 Feb 2016, 02: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, 22:25

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

Post by Pooby » 16 Feb 2016, 10:24

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

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

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

Post by danyargici » 16 Feb 2016, 10:31

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

User avatar
rray
Moderator
Posts: 1775
Joined: 26 Sep 2009, 15:51
Location: Bonn, Germany
Contact:

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

Post by rray » 16 Feb 2016, 10: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 Jan 5th 2024

Post Reply

Who is online

Users browsing this forum: No registered users and 47 guests