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

    Create RigidBodyTag on BaseObject [SOLVED]

    SDK Help
    0
    3
    315
    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

      On 15/09/2015 at 07:49, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   R16.050 
      Platform:      Mac OSX  ; 
      Language(s) :     C++  ;

      ---------
      Hi,
      I'm trying to create a RigidBodyTag on a BaseObject to add some Simulation Data. Unfortunately I was unable to find a hint in the forum or documentation how I could do this using C++. Has anybody already tried/done this and could give me some hints on how i could achieve this? I would appreciate any tip

      Regards Sebastian

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

        On 16/09/2015 at 01:52, xxxxxxxx wrote:

        Hello and welcome,

        to create something in Cinema 4D you have to know the element's ID. If the ID or a corresponding symbol cannot be found in the documentation it is always possible to get the ID from an existing element using GetType().

        The ID of the Dynamics Tag is 180000102. The most simple way to add a tag to an object is to use MakeTag().

        best wishes,
        Sebastian

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

          On 17/09/2015 at 02:44, xxxxxxxx wrote:

          Thank you for your guide, it was exactly what i needed.

          Regards Sebastian

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