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

    get the project change in core message

    Scheduled Pinned Locked Moved PYTHON Development
    11 Posts 0 Posters 769 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 27/01/2014 at 13:27, xxxxxxxx wrote:

      Hey i try to get the Message that the project change

      the question is what is the right id

      def CoreMessage(self, id, bc) :
      		if id == xx: #chang projekt
        
      
      
      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        On 27/01/2014 at 13:28, xxxxxxxx wrote:

        Hi,

        try c4d.EVENT_MSG

        Cheers, Seb

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

          On 27/01/2014 at 13:50, xxxxxxxx wrote:

          thx seb

          class stage_message(plugins.MessageData) :
          	def CoreMessage(self, id, bc) :
          		if id == c4d.EVENT_MSG:
          

          AttributeError: 'module' object has no attribute 'EVENT_MSG'

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

            On 29/01/2014 at 12:55, xxxxxxxx wrote:

            do I understand the CoreMessage wrong ?

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

              On 29/01/2014 at 14:48, xxxxxxxx wrote:

              Try c4d.EVMSG_CHANGE

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

                On 29/01/2014 at 14:53, xxxxxxxx wrote:

                thx niklas

                the change message will call often - i need only the project change -

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

                  On 30/01/2014 at 02:21, xxxxxxxx wrote:

                  What do you understand under the term "project change"?

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

                    On 30/01/2014 at 03:39, xxxxxxxx wrote:

                    menu - window - switch between different projects

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

                      On 30/01/2014 at 03:42, xxxxxxxx wrote:

                      So you want to know when the user switched to another project? It sounded like you want to know when a project was changed , ie. modified.

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

                        On 30/01/2014 at 09:03, xxxxxxxx wrote:

                        This topic has been discussed several times in the forum. For example in this thread:
                        Notification on change of active document

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

                          On 31/01/2014 at 01:50, xxxxxxxx wrote:

                          thanks to all of you . got it

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