If interactively editing the weights isn't needed, I would use a user data map.
----------------------------------------------- Ahmidou Lyazidi Director | TD | CG artist http://vimeo.com/ahmidou/videos http://www.cappuccino-films.com 2014-06-19 21:30 GMT-04:00 Matt Lind <ml...@carbinestudios.com>: > Yeah, that’s what I had tried. I just don’t trust it. > > > > If there is a way to create a GridData object as a property, that would > work for my needs. > > > > Matt > > > > > > > > *From:* softimage-boun...@listproc.autodesk.com [mailto: > softimage-boun...@listproc.autodesk.com] *On Behalf Of *joshxsi > *Sent:* Thursday, June 19, 2014 6:27 PM > > *To:* softimage@listproc.autodesk.com > *Subject:* Re: SDK: how to create an envelope weights property > > > > Sorry I meant Duplicate the cluster property and then Delete (also hacky) > > > > On Fri, Jun 20, 2014 at 11:24 AM, Matt Lind <ml...@carbinestudios.com> > wrote: > > Deleting the envelope operator causes the envelope weights property to be > deleted. L > > > > > > Matt > > > > > > > > > > *From:* softimage-boun...@listproc.autodesk.com [mailto: > softimage-boun...@listproc.autodesk.com] *On Behalf Of *joshxsi > *Sent:* Thursday, June 19, 2014 6:14 PM > *To:* softimage@listproc.autodesk.com > *Subject:* Re: SDK: how to create an envelope weights property > > > > We've always just left the env op muted or just delete it (don't freeze > it). But if there's a better way I'd be happy to learn of it. > > > > On Fri, Jun 20, 2014 at 11:04 AM, Matt Lind <ml...@carbinestudios.com> > wrote: > > I need to make a custom operator in C++ which needs to do interpolations > between multiple inputs and outputs similar to how the envelope weight > operator interpolates weighting points to deformers. I only need the > envelope weights property (as seen in the envelopes weights point cluster), > not the envelope weights operator as my custom operator would take its > place in the relationship. > > > > Looking through the SDK documentation I cannot find the preset to create > just the envelope weights property. The workaround of creating an envelope > and freezing it doesn’t work either as the envelope weights property > disappears along with the envelope operator. Although I can create an > envelope and duplicate the envelope weights property, then freeze the > envelope, that’s a bit too hacky for my needs. > > > > If I do somehow create that envelope weights property, is there any > special way I need to interface with it inside of my custom operator? > > > > Thanks, > > > > Matt > > > > > > >