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

    Block make editable(OBJECT_GENERATOR)

    Scheduled Pinned Locked Moved PYTHON Development
    2 Posts 0 Posters 245 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

      On 28/10/2016 at 01:00, xxxxxxxx wrote:

      I create Object in ObjectPlugin(c4d.OBJECT_GENERATOR), tell me how to block modifies curent object in polygonobject

      Maybe so

      _<_t_>_
          
          
          def Message(self, node, type, data) :
          
          	if type==c4d.MSG_EDITABLE_END:
          
          		return False
      <_<_t_>_
      

      But so does not work

      def Message after

      "Message" function is executed after "Make Editable"?

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

        On 28/10/2016 at 02:56, xxxxxxxx wrote:

        Hello,

        it is not possible to disable "Current State to Object" or "Make Editable" for a given plugin; Cinema does not ask for permission.

        See also "Make Object Editable".

        best wishes,
        Sebastian

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