hi everyone!

i need to somehow derive the nodes and their connectivity data (ie:
set & push commands), from a list of selected nuke node objects,
preferably in python.
here is an example of the desired derived data:

myData = """
set n11111 [stack 0]
Grade {
 name Grade1
 selected true
 xpos 0
 ypos 0
}
push $n11111
Grade {
 name Grade2
 xpos 100
 ypos 100
}
Merge2 {
 inputs 2
 name Merge1
 xpos 200
 ypos 200
}
"""

i feel like this is possible to get somehow because Ctrl+C derives
this data and puts it on the clipboard natively in nuke. nuke also
must use something like this in it's "export nodes as script"
function.
so, anyone know how to do this?

thanks for any advice!
-sally
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to