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
    • Recent
    • Tags
    • Users
    • Login

    Descriptionfiles for e.g. MoGraph ?

    Scheduled Pinned Locked Moved SDK Help
    5 Posts 0 Posters 370 Views
    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 Offline
      Helper
      last edited by

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

      On 06/02/2011 at 11:16, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:    
      Platform:      
      Language(s) :

      ---------
      Hi Guys,

      I am searching for the descriptionfiles for MoGraph, but i can't find them.
      I need the ID for the Renderinstances of the Clonerobject.
      Because C4D Versions older than 11.5 do not have renderinstances, i need to insert the ID manually too make my plugin usable for them too without having to distribute another version.

      cheers, nux

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

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

        On 06/02/2011 at 11:22, xxxxxxxx wrote:

        Omg, why not just print the variable for it ? Found a way 🙂

        But now another question.

        Why does it not work, when i declare a varibale with the specified ID for the Element and use it with PointNotation ?

        var RENDERINSTANCES = 1025;  
        op#RENDERINSTANCES = 0;
        

        does not work. 😞

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

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

          On 07/02/2011 at 00:34, xxxxxxxx wrote:

          The ID for the Render Instances option of the Cloner is MGCLONER_VOLUMEINSTANCES.

          You can obtain description ID names by dragging them into the console or the COFFEE/Python script editor.

          cheers,
          Matthias

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

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

            On 07/02/2011 at 03:24, xxxxxxxx wrote:

            Haha, I know Matthias, thanks. 😉
            But I needed the *real* ID for this entry. As you can read here, I want my plugin working for Versions older than 11.5, too.

            Because C4D Versions older than 11.5 do not have renderinstances, i need to insert the ID manually too make my plugin usable for them too without having to distribute another version.

            Renderinstances are not enumerated in older C4D Versions, because it's not built in, so C4D tells me there was a variable or function expected (because it acrually doesnt know that variable). But in newer Versions I have to make sure that Renderinstances is not marked in the ClonerObject.
            I needed the real ID, which is 1025 in the ClonerObject.

            To get it, i just printed it into the Console:

            println(MGCLONER_VOLUMEINSTANCES);
            

            My 2.nd Question was, why it does *not* work, when i declare an own variable with that id.

            var INSTANCES = 1025;   
            op#INSTANCES = 0;
            

            cheers, nux

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

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

              On 07/02/2011 at 05:21, xxxxxxxx wrote:

              You should always work with ID names whenever possible. ID numbers can change between versions.

              As for your second question, this is a limitation of the COFFEE # operator.

              cheers,
              Matthias

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