clear_layers
- compas_rhino.utilities.clear_layers(layers, include_children=True, include_hidden=True, purge=True)[source]
Delete the objects of the specified layers.
- Parameters
layers (list of str) – A list of layer names as fully qualified hierarchical paths.
include_children (bool, optional) – Include the objects of any child layers. Default is
True
.include_hidden (bool, optional) – Include all hidden objects. Default is
True
.purge (bool, optional) – Purge history after deleting. Default is
True
.