Hello, I recently try the "AddProxyParameter" command with a gradient param in reference (from an ICE Compound), and it automatically crash Softimage (2014 SP2).
I probably may create a new gradient parameter to drive the ICE one. So I'm very interested by your request because I found nothing in the doc. 2014/1/22 Mathias N <mdawn...@gmail.com> > > isn't the SDK documentation awesome. > > Impeccable (屮゚Д゚)屮 > > So, int for type, 8 groups pf RGB(A?), position float ... > > Both the ICE gradient and the fxtree gradient have 16 colors though, with > the former also having mid points in addition to the positions. > > Do I have to set those? What about the number of markers? > > Do I create an actual array of parameters and pass it, or just create a > bunch of parameters and pass the first as with .AddColor? > > The number of possible combinations to try without XSI giving you any real > feedback boggles the mind. > > > > On Wed, Jan 22, 2014 at 12:07 AM, Luc-Eric Rousseau > <luceri...@gmail.com>wrote: > >> you need to create an array of parameters with the right types and add >> the control on the first parameter. So it's just like the color >> widget. >> Check the Gradient operator in the fxtree. Open its .spdl file to see >> how it works. >> >> it's something like, one integer for type, and 8 groups of rgb color >> and a float for their position. something like that. >> >> isn't the SDK documentation awesome. >> >> On Tue, Jan 21, 2014 at 5:13 PM, Mathias N <mdawn...@gmail.com> wrote: >> > Evening >> > >> > Would any of you happen to know how to add a gradient >> (siControlGradient) >> > item to a PPG layout? >> > >> > With any of the standard data types it is pretty straight forward: >> > parameter, label, UI type. >> > A color item is given its own method, where instead of pointing to a >> single >> > parameter you point to float parameter representing red and it handles >> the >> > rest. >> > >> > But how exactly does this function with gradients? By definition it >> cannot >> > be linked to only a single parameter, but there is no special method >> for it >> > like with color. >> > >> > The docs would suggest that it is possible, but provides no information >> as >> > to how. Blindly flinging arguments at it has gotten me nowhere. >> > >> http://download.autodesk.com/global/docs/softimage2014/en_us/sdkguide/si_om/siPPGControlType.html >> > >> > Cheers >> > >