get_module_uris#

omni.mdl.neuraylib.utils.get_module_uris(
transaction: ITransaction,
graph_node_db_name: str,
) list[str]#

Lists all the MDL modules file URIs that a given set of graph depends on.

Parameters:
  • transaction (pymdlsdk.ITransaction) – a DB transaction that is able to see the given graph node

  • graph_node_db_name (str) – the DB of the node to traverse

Returns:

A list of all module URIs that the given graph node and its children reference.