Changing Object Parameters with C++
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 04/06/2008 at 13:58, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 10
Platform: Windows ;
Language(s) : C++ ;---------
Hi.
Can somebody tell me, how to change the parameters (e.g. PRIM_CUBE_LEN) of a BaseObject? I'm creatig the object with "BaseObject *cloned = BaseObject::Alloc(Ocube);". -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 04/06/2008 at 14:18, xxxxxxxx wrote:
BaseContainer* tbc = cloned->GetDataInstance();
tbc->SetVector(PRIM_CUBE_LEN, Vector(1.0f)); // for instance -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 04/06/2008 at 14:19, xxxxxxxx wrote:
Perfect!
Thanks a lot!