James Williams
TRex92
About Me
EXPERTISE
Gamedev
INDUSTRY
Advertising / Motion Graphics | Film/TV | Gamedev
Connect
LOCATION
Hauppauge,
United States
WEBSITE
Houdini Skills
ADVANCED
Procedural Modeling | Environments | Digital Assets | Pyro FX | Fluids
INTERMEDIATE
Motion Editing | Animation | Hair & Fur | Cloth | Solaris | Mantra | Karma | Lighting | Realtime FX | PDG | VEX | Python
BEGINNER
Character Rigging | Crowds | Muscles
Availability
I am available for Freelance Work
Recent Forum Posts
Labs Filter by Value May 15, 2023, 11:47 a.m.
So I'm having an issue where the Labs filter node is returning this error.
The previous Topnode does not have any errors and all nodes are processed. Any ideas what might cause this?
Error on child node /obj/GDX_Import1/GDX_Top/filter_by_source/pythonprocessor1: Traceback (most recent call last): File "filter_by_source_pythonprocessor1.generate", line 76, in <module> AttributeError: 'NoneType' object has no attribute '__getitem__'
The previous Topnode does not have any errors and all nodes are processed. Any ideas what might cause this?
workitem by index in sops Nov. 14, 2022, 8:51 p.m.
I found the answer to my own question for anyone else interested
node = hou.node(path to pdg node) pdg_node = node.getPDGNode() #Get work item by index make sure it's unique per work item work_item = pdg_node.workItems[index] #Access attributes using python workItem methods ex. name = work_item.stringAttribute("name")
workitem by index in sops Nov. 14, 2022, 1:53 p.m.
Is there a way to access a particular pdg node and workitem by its index in a python sop?