Reference standard variable accross nodes

   1660   3   0
User Avatar
Member
210 posts
Joined: Jan. 2014
Offline
This is obviously a noob question but I just can't figure out how to do this.
Inside a geo node I have a modeled object “foo” and a line “bar”.
Now I want the length of the line “bar” to be $SIZEX of “foo”.
How do I reference this value accross? There's probably a simple function or so, I forgot about.
User Avatar
Member
471 posts
Joined: Nov. 2013
Offline
Hello.
bbox expression function gives you size of bounding box along each axis.
something like:
bbox(“your node”, D_XMAX)* 2 —–> equivalent to $SIZEX
User Avatar
Member
210 posts
Joined: Jan. 2014
Offline
Exactly what I was looking for, thanks.
User Avatar
Member
8555 posts
Joined: July 2007
Offline
may be better to actually use
bbox(“your node”, D_XSIZE)
Tomas Slancik
FX Supervisor
Method Studios, NY
  • Quick Links