SElsner Posted June 17, 2013 Share Posted June 17, 2013 Hello, really basic question. When creating a node it is created at position (0,0). How do get the node to be created at the center of the network editor? Cheers Sebastian Quote Link to comment Share on other sites More sharing options...
乐琢 Urdro Posted July 10, 2013 Share Posted July 10, 2013 have no idea about the center of the network editor, but u can move the node position after creating: n1 = hou.node('/obj').createNode('geo') n1.setPosition(hou.Vector2(3,3)) Quote Link to comment Share on other sites More sharing options...
fxrod Posted July 10, 2013 Share Posted July 10, 2013 You can also use the moveToGoodPosition() method. n1.moveToGoodPosition()[/CODE] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.