firas3d
first, i cannt thank you enough for SOuP nodes.

i recently discovered the point Node, and need a small help :

I need a way to assign an object attribute to component.

for example, connect a locator position to all components without getAttr :

// POINT POSITION
$X= $TX+ myLocator.someAttr 

getAttr will work, but evaluation require to play timeline, and its not a direct node connection :(


Apperciate,
Firas.

pshipkov
The point node has inMessage compound attribute.
Connect myLocator.someAttr to point.inMessage[0].
That will trigger its evaluation.
Then in the point node's start block do:
float $someAttr = `getAttr myLocator.someAttr`;
in the position section do:
$X = $TX+$someAttr;
Reply 1 0
firas3d
super, this will work.

Do u think for future we can have a way to avoid "getAttr" ?
a direct connection like $X = TX+ $NODE.myAttr

Best,
Firas.
Reply 0 0
Reply