Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Spherify Object

    SDK Help
    0
    2
    201
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      Helper
      last edited by

      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!

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        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);
        }

        1 Reply Last reply Reply Quote 0
        • First post
          Last post