I had a question of python code of light node. How can I load the parameter of contribname in light node? Please saw files in the attachment.
I use Houdini 13.0.314.
python code of light node
2766 2 1- friend43
- Member
- 9 posts
- Joined: 7月 2010
- Offline
- keyframe
- Member
- 1533 posts
- Joined: 7月 2005
- Offline
- halfdan
- Member
- 599 posts
- Joined: 5月 2011
- Offline
friend43
I had a question of python code of light node. How can I load the parameter of contribname in light node? Please saw files in the attachment.
I use Houdini 13.0.314.
lNode.parm('light_contribname1').set('diffuse')
lNode.parm('light_contribname2').set('specular')
Multi-params are accessed by replacing the hash sign in their parm template name ('#') with their index digit.
Halfdan Ingvarsson
Senior Developer
Side Effects Software Inc
Senior Developer
Side Effects Software Inc
-
- Quick Links