Initializing GvNode Parameters
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 10/12/2002 at 14:50, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.012
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C++ ;---------
When I retrieve the node's data container and set values they do not seem to stick once the node is created. Any ideas?
darf -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 11/12/2002 at 00:21, xxxxxxxx wrote:
Could you describe what you do more precisely? Do you allocate a node, insert something into its container and then insert it into an Xpresso tag?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 11/12/2002 at 08:40, xxxxxxxx wrote:
Te question sould be:
How do I initialize the GvNode parameters ( originally created by the fact they are defined in the .res ) to a value in the Init function and ave it actually work so that when the port is created for that value it will already by defaulting to the value set in the Init function?
darf -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 12/12/2002 at 01:12, xxxxxxxx wrote:
The Init() function canot be used for GV nodes. Use iCreateOperator() instead:
virtual Bool iCreateOperator(GvNode *bn) { BaseContainer* data = bn->GetOpContainerInstance(); if (!data) return FALSE; data->SetVector(GVTEST_OFFSET, Vector(1,2,3)); return SUPER::iCreateOperator(bn); }