mmSolver.tools.markerbundlerenamewithmetadata#

Automatically rename selected markers/bundles using metadata stored on the markers/bundles.

Tool#

This tool renames selected markers and bundles with the internal metadata names stored on the markers.

mmSolver.tools.markerbundlerenamewithmetadata.tool.main()#

This tool renames selected markers and bundles with the internal metadata names stored on the markers.

Library#

This file holds all the helpful functions for ‘marker bundle rename with metadata’.

mmSolver.tools.markerbundlerenamewithmetadata.lib.rename_markers_and_bundles_with_metadata(mkr_nodes, bnd_nodes, mkr_prefix, bnd_prefix, mkr_suffix, bnd_suffix)#

Rename the given marker and bundle nodes.

Parameters:
  • mkr_nodes ([str, ..]) – Marker nodes to rename.

  • bnd_nodes ([str, ..]) – Bundle nodes to rename.

  • mkr_prefix (str) – Rename the markers to this name.

  • bnd_prefix (str) – Rename the bundle to this name.

  • mkr_suffix (str) – Set the marker suffix name.

  • bnd_suffix (str) – Set the bundle suffix name.

Returns:

Nodes that have been renamed.

Return type:

[str, ..]

Constant#

This file holds all the constants for ‘marker bundle rename with metadata’ tool.