Change the style of Input Connections like Switch SOP does
217 0 1- timurproko
- Member
- 14 posts
- Joined: March 2022
- Offline
I'm developing a custom node featuring multiple inputs, aiming to replicate the input connection behavior of the Switch SOP. This involves visually distinguishing the active connection with a solid line while displaying others with dashed lines. Despite consulting the documentation, I couldn't locate any Python methods offering this functionality. The only hint I found was the "Is Reference" property within the HDA Preferences dialogue, which, when checked, renders the connection dashed. Perhaps there's a way to programmatically set the flags for "Is Reference" to achieve this effect.
-
- Quick Links