This is kinda embarrassing because I thought this could be done easily but now I just cannot remember:
How would I create a python expression in the “objpath1” parameter in an Object Merge SOP?
For example, suppose I wanted to merge in the render SOP of a parent object into my current object's geometry. How would I do this?
Thanks
Python Expression in Object Merge
5006 3 1-
- rudeypunk
- Member
- 113 posts
- Joined: July 2005
- Offline
-
- goldfarb
- Staff
- 3465 posts
- Joined: July 2005
- Online
-
- rudeypunk
- Member
- 113 posts
- Joined: July 2005
- Offline
-
- tamte
- Member
- 9417 posts
- Joined: July 2007
- Offline
rudeypunkin hscript it would be, which is probably faster to evaluate than python
..
For example, suppose I wanted to merge in the render SOP of a parent object into my current object's geometry. How would I do this?
Thanks
`opinputpath(“..”,0)`/__render_sop__
python version would be something like:
hou.parent().inputs().renderNode().path()
Tomas Slancik
CG Supervisor
Framestore, NY
CG Supervisor
Framestore, NY
-
- Quick Links

