geometry.Geometry.remove_selected_prop#
- Geometry.remove_selected_prop(prop, compact=False)#
Return an object without the elements with property value(s).
Parameters#
- prop: int or int array_like
The property value(s) of the elements that should be left out.
Returns#
- Geometry (or subclass) object
An object of the same class as the caller, with all but the elements that have a property value equal to
prop, or one of the values inprop. If the input object has no properties, a copy containing all elements is returned.
See Also#
select_prop(): Return only the elements with propertyprop.where_prop(): Get the numbers of the elements having a specified property.remove_selected(): Remove elements by their index.