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 in prop. If the input object has no properties, a copy containing all elements is returned.

See Also#