connecting nodes without using a node manipulator
Posted: Monday 22 August, 2016 - 13:39
Hey guys,
I want to connect nodes by using 4DScript and without moving the node manipulator manually.
I’ve already used Node_Manipulator_t-connectnodes:
Do(
connect(0,AtomByName([Network Node1],Model),1,AtomByName([Node Manipulator3],Model)), {connecting a Node with the node manipulator by channel}
Node_Manipulator_t-connectnodes(AtomByName([Network Node2],Model),in(1,AtomByName([Node Manipulator3],Model)))
)
Unfortunately there was an error popping up:
“No atom currently selected: c (Node_Manipulator_t-connectnodes)”
I guess the commend Node_Manipulator_t-connectnodes has to be used as a function by a selected Node Manipulator (e.g. Node_Manipulator_t-connectnodes(in(1,c), vtp(CurrentAtom)))
Does someone know a way to solve this problem? Is there a chance to connect nodes without using a node manipulator?
Thanks!
Jonas
I want to connect nodes by using 4DScript and without moving the node manipulator manually.
I’ve already used Node_Manipulator_t-connectnodes:
Do(
connect(0,AtomByName([Network Node1],Model),1,AtomByName([Node Manipulator3],Model)), {connecting a Node with the node manipulator by channel}
Node_Manipulator_t-connectnodes(AtomByName([Network Node2],Model),in(1,AtomByName([Node Manipulator3],Model)))
)
Unfortunately there was an error popping up:
“No atom currently selected: c (Node_Manipulator_t-connectnodes)”
I guess the commend Node_Manipulator_t-connectnodes has to be used as a function by a selected Node Manipulator (e.g. Node_Manipulator_t-connectnodes(in(1,c), vtp(CurrentAtom)))
Does someone know a way to solve this problem? Is there a chance to connect nodes without using a node manipulator?
Thanks!
Jonas