i need to control the visibilty of a UI plugin node window, without patching stuff around it.
therefore i’m wondering how to “getpatch” the patch xml where the node is living in, without actually physically loading it from disc. anything hidden in the sdk to do this ?
and how to “setpatch” without actually writing to the v4p file.
but as you can see on the IHDEHost methods overview page it also has some more convenient methods to use for: SetComponentMode, ShowGUI, …the latter being probably what you’re looking for, even though it seems we’re lacking an option to HideGUI…
if i understand this right, i’m afraid this may not exist even though there is IHDEHost.GetXMLFromSelection but that will only give you the current selection… but then also i am not sure what it would have to do with your initial question to set the visibility of a ui-plugin!?
in general you can definitely argue that the api here is not very well organized. it more-less grew with our needs at the time but not much further to full consistency.
Ok, i will check this again and use VS rather than the built in code editor to get feedback about my mistake and come back with a detailed IHDEHost question.