clear_layer
- compas_rhino.layers.clear_layer(name, include_hidden=True, include_children=True, purge=True)[source]
Delete all objects of a layer.
- Parameters:
- namestr
The full, hierarchical name of the layer.
- include_hiddenbool, optional
If True, include all hidden objects.
- include_childrenbool, optional
If True, include the objects of child layers.
- purgebool, optional
If True, purge history after deleting.
- Returns:
- None