J D

JohnDoe777

About Me

EXPERTISE
VFX Artist
INDUSTRY
Film/TV

Connect

LOCATION
Canada
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

(SOLVED) Set a button strip parm in python March 9, 2024, 7:06 p.m.

Hello,

I know how to convert a button strip bitfield to an array but I have no clue how to do the opposite.

So for example I have a button strip with 3 menu items (x, y, z), I have a list of (1, 0, 1). How can I convert that array to a bitfield to set the parm python expression so that the first and last menu item is checked by returning an integer?

Python - Allow Instance Proxies in Collection (CROWD) Nov. 7, 2023, 4:46 p.m.

Ah yes. Been in that rabbit hole.
What you have to do is create collection for each shape in instance proxies, and assign materials via collections.
I have some duct tape python script for that. But didn't finish it, had to switch over to another project.


I ended up getting it to work with Python through the use of

ls = hou.LopSelectionRule()
ls.setTraversalDemands(hou.lopTraversalDemands.AllowInstanceProxies)

but it all felt quite inefficient route to go. Would be nice if they made it more straightforward.

Agent USD scale conversion from Maya? Oct. 30, 2023, 12:48 p.m.

Hello,

Anyone know a way to adjust the pre-scale that an agent from USD is imported at similar to FBX's "Convert Units"? Scaling it down with a transform node by 0.01 or pscale isn't a solution as retargeting clips through kinefx breaks due to the scale difference.