J D

JohnDoe777

About Me

専門知識
VFX Artist
INDUSTRY
Film/TV

Connect

LOCATION
Canada
ウェブサイト

Houdini Skills

Availability

Not Specified

Recent Forum Posts

(SOLVED) Set a button strip parm in python 2024年3月9日19:06

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) 2023年11月7日16:46

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? 2023年10月30日12:48

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.