Patrick Piche

ppiche

About Me

EXPERTISE
Technical Director
INDUSTRY
Film/TV

Connect

LOCATION
Canada
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

otl parameter lable width control? July 17, 2019, 6:35 p.m.

Re-opening a thread from the death.

It's true that having the possibility to change the justification of the label to left/right would be nice.

Also having a way to have a fixed width or all match the longer label width for a group of labels ex. in a multi-parm where parameters are organized in column with “Horizontally Join to Next Parameter” option.

Actually, string parameters are by default like this but using it as a label is not ideal.

How to delete/replace a String parameter reference in python July 9, 2019, 6:03 p.m.

Hi,

When a string parm is set with a hscript reference to another parameter, how can we delete or replace this reference?

If I simply do set, it will change the value of the referenced parameter and deleteAllKeyframes() does nothing…

The only solution I found at this time is the next:

p = hou.parm('/obj2/geo2/file1/file')
if p.getReferencedParm() != p:
    p.revertToDefaults()
p.set('`chs("../../geo/file1/file")`')

Or change this to an expression…

Am I wrong or there is no other way?

Thanks

Revert Parameter Interface by script Jan. 30, 2019, 11:39 a.m.

Hi.

Can we do a ‘Revert Parameter Interface’ in Python?





Thanks
Patrick