THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 10/02/2011 at 11:45, xxxxxxxx wrote:
Howdy,
If I'm understanding it correctly, I think the Layer Browser simply holds a LayerData structure for each layer:
struct LayerData
{
public:
Bool [solo](file:///Users/danlibisch/Documentation/%20C4D%20Manuals/R10%20SDK/pages/c4d_basedocument/struct_LayerData703.html#solo0);
Bool [view](file:///Users/danlibisch/Documentation/%20C4D%20Manuals/R10%20SDK/pages/c4d_basedocument/struct_LayerData703.html#view1);
Bool [render](file:///Users/danlibisch/Documentation/%20C4D%20Manuals/R10%20SDK/pages/c4d_basedocument/struct_LayerData703.html#render2);
Bool [manager](file:///Users/danlibisch/Documentation/%20C4D%20Manuals/R10%20SDK/pages/c4d_basedocument/struct_LayerData703.html#manager3);
Bool [locked](file:///Users/danlibisch/Documentation/%20C4D%20Manuals/R10%20SDK/pages/c4d_basedocument/struct_LayerData703.html#locked4);
Bool [generators](file:///Users/danlibisch/Documentation/%20C4D%20Manuals/R10%20SDK/pages/c4d_basedocument/struct_LayerData703.html#generators5);
Bool [deformers](file:///Users/danlibisch/Documentation/%20C4D%20Manuals/R10%20SDK/pages/c4d_basedocument/struct_LayerData703.html#deformers6);
Bool [expressions](file:///Users/danlibisch/Documentation/%20C4D%20Manuals/R10%20SDK/pages/c4d_basedocument/struct_LayerData703.html#expressions7);
Bool [animation](file:///Users/danlibisch/Documentation/%20C4D%20Manuals/R10%20SDK/pages/c4d_basedocument/struct_LayerData703.html#animation8);
[Vector](file:///Users/danlibisch/Documentation/%20C4D%20Manuals/R10%20SDK/pages/ge_vector/struct_Vector1184.html) [color](file:///Users/danlibisch/Documentation/%20C4D%20Manuals/R10%20SDK/pages/c4d_basedocument/struct_LayerData703.html#color9);
};
... then you access the LayerData structure from BaseList2D::GetLayerData() through each BaseList2D node.
Each individual manager accesses the LayerData through each BaseList2D node to see how it should process the node.
So, if my understanding of it is correct, the Layer Browser actually would do nothing more than store layer settings.
Adios,
Cactus Dan