Hierarchy Help

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

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

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