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

    big or wrong use - GetActiveObjectsFilter [SOLVED]

    Scheduled Pinned Locked Moved PYTHON Development
    3 Posts 0 Posters 290 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 06/02/2015 at 03:56, xxxxxxxx wrote:

      Hey i try to use GetActiveObjectsFilter but the result is not filtered

      only one selected object is from the type - but i get all selected objects

      print doc.GetActiveObjectsFilter(True,1030427,0)
       
      

      result : 
      [<c4d.BaseObject object called 'Viper Profile/Fixture' with ID 1030421 at 0x132f5fa10>, <c4d.BaseObject object called 'Würfel/Würfel' with ID 5159 at 0x132f5fa30>, <c4d.BaseObject object called 'ST500 70/Ressource Object' with ID 1032127 at 0x132f5fa50>]

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

        On 06/02/2015 at 06:10, xxxxxxxx wrote:

        Hello,

        to use GetActiveObjectsFilter()[URL-REMOVED] correctly one has to use c4d.NOTOK to ignore a certain test.

        best wishes,
        Sebastian


        [URL-REMOVED] @maxon: This section contained a non-resolving link which has been removed.

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

          On 06/02/2015 at 13:34, xxxxxxxx wrote:

          thanks

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