add_ids_algorithm

add_ids_algorithm#

add_ids_algorithm(inp, point_ids: bool = True, cell_ids: bool = True)[source]#

Add a filter that adds point and/or cell IDs.

Parameters:
inppyvista.DataSet

The input data to which the IDs will be added.

point_idsbool, default: True

If True, point IDs will be added to the input data.

cell_idsbool, default: True

If True, cell IDs will be added to the input data.

Returns:
AddIDsAlgorithm

AddIDsAlgorithm filter.