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

    GetActiveObjects 2nd parameter dont work

    Scheduled Pinned Locked Moved Bugs
    2 Posts 0 Posters 587 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 08/09/2007 at 08:32, xxxxxxxx wrote:

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

      ---------
      GetActiveObjects 2nd parameter ( Bool) dont work.
      This written in documentation :
      Bool childs   If _<_a class=silent href= "mk:@msitstore:h:\digital%20arts\c4d_sdk\c4dr10sdkchm2007-01-25.chm::/pages/ge_math/enum_boolconstants96.html#true1"_>_TRUE then children are also added to selection , provided that they are selected. Otherwise only the topmost parent in each chain is added
      Actually 2nd parameter just ignored, and this function always works like 2nd parameter is FALSE

      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 09/09/2007 at 03:45, xxxxxxxx wrote:

        ...provided that they are selected....

        This means, only children that are selected will be added to the AtomArray!

        It´s no bug it´s the intented behavior.
        If you want all selected objects and their children, then go thru the hierarchy yourself and check with GetBit(BIT_ACTIVE) if a child object is selected and add it to the atom array yourself. 🙂

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