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

    Setting a link in a link field?

    Scheduled Pinned Locked Moved SDK Help
    2 Posts 0 Posters 163 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 08/11/2009 at 05:46, xxxxxxxx wrote:

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

      ---------
      Hi,

      some time ago, I published the Vray Proxy Creator, which worked quite well. But suddenly, the plugin does not register anymore and throws an error instead:

      // 1. Create MeshExporter Tag   
      var ExpTag = AllocTag(VRAY_EXPORTERTAG_ID);     // Create Vray MeshExporter Tag   
      doc->AddUndo(UNDO_TAG_NEW, ExpTag);             // Add Undo   
      op->InsertTag(ExpTag);                          // Attach tag to original object   
        
      // 2. Create VrayProxy object   
      var PrxObj = AllocObject(VRAY_PROXYOBJECT_ID); // Create VrayProxy object   
      PrxObj#VRAYPROXY_LINK = ExpTag;                 // Link tag into object   
      

      The message in the C4D console points out a syntax error in the last line of the above shown code. Why? It always worked, what has happened?

      Thanks for any tipps!

      Edit: The complete source code is shown and also available for download in the german C4D Wiki: http://wiki.c4d-jack.de/wiki/VrayProxy_Creator_(Coffee-Plugin)

      Greetings,
      Jack

      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 08/11/2009 at 05:54, xxxxxxxx wrote:

        I just noticed that it works again, if I replace the "VRAYPROXY_LINK" with the actual ID number.
        But still, I wonder why it has worked before, and what could possibly have changed within Coffee.

        Cheers,
        Jack

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