RE: CClusterPropertyElementArray::PutItem creates an operator in the envelope weights cluster

Date : Fri, 10 Mar 2006 14:27:44 -0500
To : <XSI(at)Softimage.COM>
From : "Stephen Blair" <Stephen_Blair(at)Softimage.COM>
Subject : RE: CClusterPropertyElementArray::PutItem creates an operator in the envelope weights cluster
Hi Mathieu
 
If you were setting the envelope weights from within your own custom operator, then the ClsSetValuesOp operators would not be created.
 
Steve


From: owner-xsi(at)Softimage.COM [mailto:owner-xsi(at)Softimage.COM] On Behalf Of Mathieu Leclaire
Sent: March 10, 2006 12:02 PM
To: XSI(at)Softimage.COM
Subject: CClusterPropertyElementArray::PutItem creates an operator in the envelope weights cluster

Hi,

 

Maybe I’m using the wrong command here but I’m trying to change weights on certain vertices using CClusterPropertyElementArray::PutItem but each time my custom command is called, it creates an ClsSetValuesOp operator in the Envelope_Weights of the envelope weights cluster. To get rid of it, I need to freeze it in scripting each time I call my custom command. So I was wondering if there was a way to change the weights values without creating a new operator that has to be frozen each time? Or maybe I have no choice and I need to freeze it directly in C++? Would it be faster to process by doing the freeze directly in C++ or am I just completely on the wrong path here?

 

 

Mathieu Leclaire

R&D Programmer

Hybride Technologies


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.