update_variables#

Visor.update_variables(dataset_id, variables)#

Update variables for a dataset.

Parameters:
dataset_idint

ID of the dataset to update.

variablesList[Dict[str, Any]]

List of dictionaries describing variable updates.

Raises:
RuntimeError

If the update operation fails.

Return type:

None

Notes

Each dictionary must include:

  • type (str or VisorVtkVariableType): “POINT” or “CELL”

  • name (str): Non-empty variable name

  • num_components (int): Number of components (> 0)

  • data (array-like): List, tuple, or numpy.ndarray shaped as (num_points, num_components) or a flat list divisible by num_components.