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
    • Register
    • Login

    IN_EXCLUDE accept list

    Scheduled Pinned Locked Moved SDK Help
    4 Posts 0 Posters 415 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 23/04/2005 at 05:36, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   9.1 
      Platform:      
      Language(s) :     C++  ;

      ---------
      Hi,

      Im trying to use a IN_EXCLUDE gadget in my dialog. I want it to accept only Obase objects

      My code is

        
            IN_EXCLUDE IDC_OBJECTS  
            {  
              ALIGN_TOP; FIT_H; SCALE_H;   
              NUM_FLAGS 0;   
              INIT_STATE 0;   
              SEND_SELCHNGMSG 0;   
           ACCEPT { Obase; }        
                
            }  
      

      The doc says I must use ACCEPT { Obase; }, but Cinema 4D shows a resource error on the ACCEPT { Obae; } line

      Any reason why?

      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 23/04/2005 at 07:02, xxxxxxxx wrote:

        Hello,
         
        I would say it doesn't work because after ACCEPT { Obase; } there also should be a " ; ".
         
        So it should say:
         
        IN_EXCLUDE IDC_OBJECTS
              {
                ALIGN_TOP; FIT_H; SCALE_H;
                NUM_FLAGS 0;
                INIT_STATE 0;
                SEND_SELCHNGMSG 0;
             ACCEPT { Obase; } ;     
               
              }
         
         
         
        Dani

        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 23/04/2005 at 08:28, xxxxxxxx wrote:

          Sadly, that still doesn't work

          Strangely enough

            
          LINK IDC_LINK  
          {  
          ACCEPT { Obase; }  
          }  
          

          doesn't work either, I get the same error. Its as if ACCEPT doesn't exist for Dialog resources.
          And ive used ACCEPT loads a times in description resource files.

          So is there a possibility that dialogs resource files dont support ACCEPT?

          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 03/05/2005 at 02:25, xxxxxxxx wrote:

            It looks that way. You'll have to check the MSG_DESCRIPTION_CHECKDRAGANDDROP message yourself in the dialog.

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