Open tetov opened 3 years ago
perhaps we should provide the option to delete "endpoints" only?
Maybe, but that can be done with "COMPAS::Datastructures::Network"
.. I think just making sure that the more specific the input is, the more specific the action is. If the dict given contains sublayers down to an endpoint only the endpoint is removed. If it stops before then the last points tree is removed.
Describe the bug
Unexpected behavior when using a dict as parameter for
compas_rhino.utilities.delete_layer
.(I might be misunderstanding though, let me know if so and I can probably updated docstring)
To Reproduce
Environment
Rhino Python Editor
Sample script
Result
Expected result
Other environment details
Desktop (please complete the following information):