kletterget
02-15-2006, 07:23 AM
Hiya
I want to make a shelf button which opens up the Attribute Editor for the defaultRenderGlobals node, without having to select the node first, thus losing any current selection I already have.
The best I can come up with is this:
string $sels[] = `ls -sl`;
select defaultRenderGlobals;
openAEWindow;
copyAEWindow;
select $sels;
But it all seems rather clumsy. Is there a direct command which just opens up the specific AE?
ta muchly,
/k.
I want to make a shelf button which opens up the Attribute Editor for the defaultRenderGlobals node, without having to select the node first, thus losing any current selection I already have.
The best I can come up with is this:
string $sels[] = `ls -sl`;
select defaultRenderGlobals;
openAEWindow;
copyAEWindow;
select $sels;
But it all seems rather clumsy. Is there a direct command which just opens up the specific AE?
ta muchly,
/k.
