Yet again, I seem to get confused with what I can achieve using Python Expressions avoiding Python SOPs.
Let's say, I create a curve and place 6 points of the curve in the scene however I please… (Point's which's coordinates are visible in the coords section of the curve). I can see the XYZ position in the “Details View” too, which makes me think that there should be an easy way to access that information…
But my reduced knowledge of Houdini and Python isn't much help I admit.
If I create a sphere, which I want to be positioned at the 3rd point of the curve… I thought I would be able to put the coordinates of said point using a multi-line expression in the Translate values of the sphere (one for X, another for Y and a third one for Z).
But as soon as I type the following line in TranslateX of the sphere:
curve = hou.node(obj/curve_object1/curve1")
I'm stuck… I tried reading the Help files and anything I try doesn't seem to get me there…
Any clues on how to do it?
(I think I could easily get the information if I read the coordinates string, but I just started learning Houdini and I'm trying to understand it's limits and capabilities… So if there's a way to do this this way and I just don't know how to code it… It would be great to know how
… And if there's an easier way… I'd love to know too
Hahaha)CHEERS!



