Spherify Object

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 05/02/2004 at 22:58, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   8.5 
Platform:      Mac OSX  ; 
Language(s) :   C.O.F.F.E.E  ;

---------
Hi,
Is there any COFFEE documentation for the Spherify deformer object?
I want to change the Strength parameter - I tried setting the container value DEFORMOBJECT_STRENGTH but that doesn't seem to work.
Thanks in advance for any help!

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 08/02/2004 at 08:23, xxxxxxxx wrote:

The Container ID is wrong and you´ll need to define the IDs. This will work:
enum
{
 SPHERIFYOBJECT_RADIUS   = 1000,
 SPHERIFYOBJECT_STRENGTH  = 1001
};
main(doc,op)
{
 var bc = op->GetContainer();
 bc->SetData(SPHERIFYOBJECT_STRENGTH,0.5);
 op->SetContainer(bc);
 op->Message(MSG_UPDATE);
}