Hey!
I feel this is so basic, but also looks like SideFX may have omit something here.
I'm setting up a LabelParmTemplate of type Heading, but I see no option to change the Text of the Label Parameter?
Unlike a plain Label, the Heading displays "Text" parameter, instead of "Label" parameter (see attachement).
Also https://www.sidefx.com/docs/houdini/hom/hou/LabelParmTemplate.html [www.sidefx.com] doesn't point in any direction, just as if the Heading and Message type were only possible to set manually.
Anyone any idea on how to change that through python ?
LabelParmType.Heading Text?
1710 1 1-
- krzykulencja
- Member
- 3 posts
- Joined: Oct. 2018
- Offline
-
- Manuloti
- Member
- 28 posts
- Joined: Nov. 2021
- Offline
I just arrived at the same question xD
I'm building a menu in a Null node and I wanted some .Heading type of label in it to better segment the parameters. Since the “label” argument doesn’t make the trick for this specific type of label (doesn’t show any text at all), I started mingling around a bit and managed to make it work, meaning I managed to assign a visible text value for mentioned label.
Basically you gotta retrieve the parm after creating it (and assigning it to the group, then node, naturally), and… set a value. In the documentation says the LabelParmTemplate “do not store parameter values”, yet… for this type of label, it seems that’s where you gotta set the whatever text/value you want the label to show. So… whateverLabel.set(“The title you want”).
I hope this serves you and anyone else who happens to confront this same issue/question : ), and if anyone needs that step by step, just tell me. On top of it, wouldn’t it be AMAZING for SideFX to include this in the documentation? A man can dream.
I'm building a menu in a Null node and I wanted some .Heading type of label in it to better segment the parameters. Since the “label” argument doesn’t make the trick for this specific type of label (doesn’t show any text at all), I started mingling around a bit and managed to make it work, meaning I managed to assign a visible text value for mentioned label.
Basically you gotta retrieve the parm after creating it (and assigning it to the group, then node, naturally), and… set a value. In the documentation says the LabelParmTemplate “do not store parameter values”, yet… for this type of label, it seems that’s where you gotta set the whatever text/value you want the label to show. So… whateverLabel.set(“The title you want”).
I hope this serves you and anyone else who happens to confront this same issue/question : ), and if anyone needs that step by step, just tell me. On top of it, wouldn’t it be AMAZING for SideFX to include this in the documentation? A man can dream.
-
- Quick Links

