Grayth
10-21-2005, 01:52 PM
I can't for the life of me figure out what I'm doing wrong.
I've looked at the example flags and reference and it looks fine
but I keep getting no attribute specified and I'm thinking...yes I'm locking translate X...
here's the sample code
string $name = "bob";
camera;
rename $name; //I've renamed it this way as I can't see how in the camera create command where I can specify a name
setAttr -lock true $name.tx;
The other problem I'm having is in creating new group nodes..
I can't find the right command to select the top most group node.
example when I create a 2node Camera..it also creates a camera1_group node.
I want to be able to create new group nodes above this node.
I know I can simply select this...but if the script is creating multiple cameras, this group node name will change.
Thanks for the help on these 2 problems
Troy
I've looked at the example flags and reference and it looks fine
but I keep getting no attribute specified and I'm thinking...yes I'm locking translate X...
here's the sample code
string $name = "bob";
camera;
rename $name; //I've renamed it this way as I can't see how in the camera create command where I can specify a name
setAttr -lock true $name.tx;
The other problem I'm having is in creating new group nodes..
I can't find the right command to select the top most group node.
example when I create a 2node Camera..it also creates a camera1_group node.
I want to be able to create new group nodes above this node.
I know I can simply select this...but if the script is creating multiple cameras, this group node name will change.
Thanks for the help on these 2 problems
Troy
