THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 10/09/2007 at 19:45, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 10.111
Platform:
Language(s) : C++ ;
---------
Hi,
A couple quick questions about the layer browser:
First, how to get access to the layer browser when no objects have been assigned a layer.
LayerObject* layer = obj->GetLayerObject(bDoc); works, of course, when an object has a layer assigned. But, for example, if I have a new scene with no objects, and 4 layers, how do I get access to the first layer?
Second question is how to return the data from the layers (solo, view, render, manager, etc...). I've seen the LayerData page of the SDK. Just not sure how to implement that.