I have a python script which loads my HDA in maya and sets some file paths and loads some geometry based on that. I have a menu which gets populated based on the file path set and it's using a menu script. I'm running into this issue where my menu items doesn't show up in maya unless I reload the asset. The menu loads fine in Houdini though.
Force reload is an option but it seems to take really long in my case as it cooks the whole network again and I don't want that. “Sync Asset”, “Load Attributes” doesn't seem to help. The only way I could get my menu items to show up is by reloading. Is there any workaround to update the UI and load the menu items without reloading the entire asset ?