nuke.addBeforeUserAddGsvSet
- nuke.addBeforeUserAddGsvSet(function)[source]
Add a callback to be called after the user has added a GSV set via the UI or the python API.
- Parameters
function (Callable[[path], bool]) – A callable function which takes a single parameter for the GSV path. If this function returns false, the gsv set addition will be aborted.
- Raises
TypeError – If a single callable parameter is not provided.
- Returns
True if the callback was added successfully.
- Return type
bool