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

    BaseDocument->GetActiveObjects()

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 286 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 19/12/2004 at 00:33, xxxxxxxx wrote:

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

      ---------
      There seems to be some misunderstanding here.

      In the Docs, it says:

      "Bool childs
      If TRUE then the children are added to selection as well."

      Okay. I select an object with children and I only get the object and its first child, not the rest, in the AtomArray. (Note: the child selected could be already selected from LoadFile())

      What is up?

      Robert

      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 19/12/2004 at 07:00, xxxxxxxx wrote:

        I think the behaviour is correct: only selected children are added. (The docs could be a bit clearer.)

        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 19/12/2004 at 08:31, xxxxxxxx wrote:

          That seems strange. This is not an inclusive setting, but an exclusive setting. If children objects are selected and 'childs' is FALSE, they are not added to the list, if TRUE, they are.

          In my situation, there are going to be Polygon objects grouped under Null objects. When a Null object is selected, all of the children should be processed (since this involves materials on these objects). I take it that AtomArray- >Append() could be used to add the children to the AtomArray list used for processing?

          Thanks for clearing that up, Mikael.

          Robert

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