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

    What is hierarchyhelp? How to access/use it?

    Scheduled Pinned Locked Moved PYTHON Development
    2 Posts 0 Posters 257 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 24/07/2015 at 11:03, xxxxxxxx wrote:

      Some of the functions I'm trying to run require a "hh" variable, which I can't access. How to use them properly?

      Example:
      BaseObject.GetHierarchyClone(hh, op, flags)

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

        On 27/07/2015 at 03:27, xxxxxxxx wrote:

        Hi,

        'hh' parameter is of type HierarchyHelp. This helper class is used to handle the virtual objects hierarchy.

        The HierarchyHelp class isn't availabale in the Python API but it's passed to ObjectData.GetVirtualObjects() and the Python generator main() function.
        This way it can be passed along when calling the virtual objects hierarchy methods:
        BaseObject.GetAndCheckHierarchyClone(), BaseObject.GetHierarchyClone(), BaseObject.GetCache(), BaseObject.CheckCache() etc.

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