THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 18/02/2009 at 15:31, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 11
Platform: Windows ;
Language(s) : C.O.F.F.E.E ; XPRESSO ;
---------
I want to know how to turn off/ on whether an object's parameter is keyed when parameter keying is enabled.
In the cinema interface, this is done by highlighting the parameter, right click > Animation > 'Add keyframe Selection'.
This turns the parameter's text white and now when using the set key button with parameter keying enabled, this parameter is keyed.
Let me use the example of a coffee tag on a null object, and lets say I want to turn on for keying it's 'Display' parameter.
I know how to get at the null object's display value, easy:
main(doc,op)
{
println(op#NULLOBJECT_DISPLAY);
}
But say I want to get at a property of that parameter (a sub id ?)
The 'descriptions' section of the SDK leads me to believe this is the syntax :
main(doc,op)
{
println(op#NULLOBJECT_DISPLAY:name_of_property);
}
But I don't know what the property I need is called.
from searching around I thought it might be DESC_ANIMATE
but :
main(doc,op)
{
println(op#NULLOBJECT_DISPLAY:DESC_ANIMATE);
}
but I get 'Invalid Description ID for object'.
Can anyone help ? And tell me which files to look in to find out the ID's or names of parameters sub-properties ?
Thanks.