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

    Hierarchy Help

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 273 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 01/05/2010 at 19:04, xxxxxxxx wrote:

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

      ---------
      I need to declare a HierarchyHelp in my own function so that I can call GetVirtualObjects() from my own function.  How do I declare this in my own function so that I can pass it to GetVirtualObjects() ?

      Thanks,

      Shawn

      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 01/05/2010 at 19:25, xxxxxxxx wrote:

        Okay,  I have this now that i am trying to use to call GetVirtualObjects()

        	//USE OBJECT
        	if (bc->GetLong(PARTICLE_TYPE) == PARTICLE_OBJECT_GEOMETRY)
        	{
        		HierarchyHelp *hh;
        		Emitter::GetVirtualObjects(op,hh);
        	}
        

        but I am getting the following error...

        error C2352: 'ObjectData::GetVirtualObjects' : illegal call of non-static member function

        ANy thoughts as to why?

        Thanks.

        ~Shawn

        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 01/05/2010 at 20:14, xxxxxxxx wrote:

          Solved this one too...  Thanks

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