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

    InExcludeData selection?

    Scheduled Pinned Locked Moved SDK Help
    2 Posts 0 Posters 213 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 03/03/2009 at 14:54, xxxxxxxx wrote:

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

      ---------
      Howdy,

      I'm trying to detect which element in the InExcludeData's list is selected, but can't quite figure it out. In the SDK documentation, it looks like there is a container that's either TRUE or FALSE, according to if the element is selected or not. The documentation says this:

      BaseContainer* GetData(LONG lIndex)
      Gets the data container for the item at lIndex.

      Return

      BaseContainer*
      Data container:
      Container ID                                         Type             Description
      IN_EXCLUDE_DATA_SELECTION       Bool            TRUE if IN_EXCLUDE_FLAG_SEND_SELCHANGE_MSG is set and the object is selected in the list.

      The list owns the pointed container.

      Parameters

      LONG lIndex
      Object index. (0 <= lIndex < GetObjectCount())

      But I can't find any examples showing how to set the IN_EXCLUDE_FLAG_SEND_SELCHANGE_MSG flag.

      Any idea how you set that flag?

      Adios,
      Cactus Dan

      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/03/2009 at 18:35, xxxxxxxx wrote:

        Howdy,

        OK, never mind I found the answer. You set the flag in the .res file with this:

        > SEND_SELCHNGMSG 1;

        It's all working now. 🐵

        Adios,
        Cactus Dan

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