Hi Nathan,

i thought of the same solution, but this only works on Groups.

#####
the Background is:
i've written a reference system for groups / gizmos.
so all exported groups will be saved as gizmos in a relative path.
once imported into a production scene,
all the gizmos get either automatically updated (via date stamp) onscene load, 
or just manually with all or selective once.
The script detects 'reference gizmos' via name ending of "_REF".
To keep the same name of the gizmos, 
when they are duplicated and reused, we group them before,
that the detection script kicks in with the same gizmo name.
but, when a gizmo is updated and has e.g. now more inputs/outputs than before,
i want to automatically create inputs within the group the gizmo is in and name 
them as they are named in the gizmo (of course).

(as i am writing this, i just rethink the questionable strict "_REF" ending 
name....)
simplifiing the name convention, wouldn't get you copy them to groups again... 
*solution found...
#####

but indeed, it would be nice, to get the names of the gizmo's inputs either, if 
so possible.
i can read them, but can't access them :(
*hardcore solution would be, opening the gizmo as text and regex their 
names..... 
but this shouldn't be the first choice.

so far,
best regards.

ps. some moments i would really like to know what you guys are scripting out 
there :)



_______________________________________________
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