kgoulding
Oct. 26, 2018 18:24:39
The Houdini node in Maya doesn't seem to have these attributes. How exactly does this work? i'm looking to attach Maya events to changes made by the HDA. will this get me what i need?
juliap
Oct. 30, 2018 17:33:49
You should be able to find them in the attribute editor in the AssetCallbacks block inside the AssetOptions block.
kgoulding
Oct. 31, 2018 20:19:31
I see button options to sync and reload, are these calling the callback methods? preSyncCallback and postSyncCallback do not exist when using listAttributes() on the HDA node so i'm inclined to believe the docs are just outdated.
juliap
Nov. 1, 2018 13:49:07
If you're looking at the Sync and Reload buttons in the Asset Options tab of the Attribute Editor, you should see the AssetCallbacks tab right below. There should be string fields to enter the names of the mel procs to use as callbacks.
Which version of Houdini do you have? Those attributes were added for 17, it would be a shame if something happened to them.
What happens if you do:
attributeExists “preSyncCallback” “yourAssetNode”
kgoulding
Nov. 5, 2018 16:00:49
ah. that would explain it. turns out I was the one that was outdated! I'm running 16.5 still, and was unaware that these were added recently.