octane.project.select
adds an item to the current selection (the items with a yellow border in the nodegraph editor).If you don't want to select nodes manually, you have to search for them in the scene's root graph (
octane.nodegraph.getRootGraph()
). You can search by name (octane.nodegraph.findItemsByName
) or by type (octane.nodegraph.findNodes
). In your case I guess it's the easiest to search by name:- Code: Select all
nodes = octane.nodegraph.getRootGraph():findItemsByName("V6Torso")
cheers,
Thomas