nuke.addAfterUserRenameGsv

nuke.addAfterUserRenameGsv(function)[source]

Add a callback to be called after the user renames a GSV via the UI or the python API.

Parameters

function (Callable[[path, name], None]) – A callable function which takes parameters for the GSV path and new name.

Raises

TypeError – If a single callable parameter is not provided.

Returns

True if the callback was added successfully.

Return type

bool