Click or drag to resize

LayerGetChildren Method (Boolean)

Gets the children of this layer.

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 8.0
Syntax
public Layer[] GetChildren(
	bool allChildren
)

Parameters

allChildren
Type: SystemBoolean
If false, the immediate children are returned. If true, immediate children, their children, and so on, are returned.

Return Value

Type: Layer
Array of child layers, sorted by layer index, or null if this layer does not have any children.
See Also