Maxon Developers
    • Downloads
      • All Downloads
      • Cinema 4D Python SDK
      • Cinema 4D C++ SDK
      • Cineware SDK
      • ZBrush GoZ SDK
      • Cinema 4D Python Examples
      • Cinema 4D C++ Examples
      • Project Tool
      • SDK Database
    • Documentation
      • Cinema 4D Python SDK
      • Cinema 4D C++ SDK
      • Cineware SDK
      • ZBrush GoZ SDK
    • Forum
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Forums
      • Overview
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • News & Information
      • Downloads
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Register
    • Login

    demo restrictions

    SDK Help
    0
    2
    57
    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 30/09/2005 at 14:18, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   8.503 
      Platform:   Windows  ;   Mac OSX  ; 
      Language(s) :     C++  ;

      ---------
      Hi,

      I want to make a demo of my plugin. It's an object generator making a virtual polygonobject from splines.

      I want to make the data unsavable, so I'm looking for a kind of message that will be received when the user saves the document. Since I didn't found such a message type by now, I'm thinking about the MSG_MULTI_DOCUMENTIMPORTED message. I could make the pluginobject invalid, if this message will be received. The disadvantage is, that this message will be also received, when the user reloads the document (revert to saved).

      Any ideas? Left to say: I don't want to use the 9.1 message MSG_DOCUMENTINFO, 'cause I want to stay compatible with C4D 8.5.

      Another aspect: Is it possible to prevent the user from making the object editable (convert to real polygon object)?

      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 30/09/2005 at 19:27, xxxxxxxx wrote:

        There is an easy way to do this. If the plugin is in 'demo mode', just don't let it work when read in from file. There are three methods: Read(), Write(), CopyTo() which all need to be implemented if any one of them is. Have you implemented these methods for the plugin object? Here you can do whatever you need to make the plugin invalid.

        And forgot to add that the Write() method is a good indicator that the data is being written to file. You could track it very easily in this method.

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