Drive Light position by Point position? {[SOLVED]}

   252   3   0
User Avatar
Member
1224 posts
Joined: April 2017
Offline
Hi!

Inside a Geo Node, I have one point with a f@myFloat. I'm trying to access that float from a Light(translate X) by using a point function. I get the error Unable to evaluat expression (bracing error(./tx))).

Can anybody help me?

-Olivier
Edited by olivierth - June 6, 2026 15:18:07

Attachments:
Houdini_Drive_Light_by_Point_Position_01.jpg (129.0 KB)

User Avatar
Member
9687 posts
Joined: July 2007
Offline
on top of mismatched brackets, you are also not using the correct form of point() function, since hscript [www.sidefx.com] and vex [www.sidefx.com] versions expect different arguments

try this one
point("../geo1/OUT/", 0, "myFloat", 0)
Edited by tamte - June 6, 2026 14:18:02
Tomas Slancik
CG Supervisor
Framestore, NY
User Avatar
Member
9687 posts
Joined: July 2007
Offline
you can also use RMB/Reference/Scene Data... to link any parameter to an attribute without typing the expressions manually, especially handy for something like position where you have to link 3 parameters
Edited by tamte - June 6, 2026 14:41:32
Tomas Slancik
CG Supervisor
Framestore, NY
User Avatar
Member
1224 posts
Joined: April 2017
Offline
Thanks for the info!

-Olivier
  • Quick Links