THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 01/10/2005 at 03:30, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R9.5
Platform: Windows ;
Language(s) : C.O.F.F.E.E ;
---------
Hi,
i'm happy about my first steps in COFFEE :-)
I want to make a Rig-Generator.
Now the Bone generate and named and set at right position in hierarchie.
Now I need the Mocca-IK Tags at the Objects.
May way to do this is to use "command"->IK-Setup.
doc- >SetActiveObject(myBoneObject);
CallCommand(100001324);
It is ok, but I want to add my own mocca-IK Tag at every object.
And I need to add Expresso-Tags, too.
But how can I ma ke add Tags to Objects ?
This is the way I try:
var tobject = doc->FindObject ( tagobj );
if ( !tobject ) return;
doc->SetActiveObject(tobject);
tobject->AllocTag("Texpresso");
Error is shown: [FAIL] 'ERIG' Line53: Incompatible Values... NIL / OBJECT