Query Frame/animation Ext

How can I query the Frame/Animation Extension in Render Globals? Thanks!

QUOTE(Geegrafix @ 02/02/06, 02:20 PM) [snapback]227171[/snapback]
How can I query the Frame/Animation Extension in Render Globals? Thanks!

Hi

Yes u can query and you can modify also..

CODE
//now you got the current Type
  //1-9 you can get it
int $item = optionMenuGrp -q -sl extMenu;

//now you can set if you want
setMayaSoftwareFrameExt($item , 0);

//you can use 1-9 here insted of $item

enjoy

regds

o.S.k

the code above works offcourse only in gui mode if you wnat to know the extenssion outside of gui context you need to go to the nodeal source!

QUOTE(Joojaa @ 02/04/06, 03:35 AM) [snapback]227329[/snapback]
the code above works offcourse only in gui mode if you wnat to know the extenssion outside of gui context you need to go to the nodeal source!

Hi joojaa

Yes it will work in GUI mode only...thts correct..

o.S.k

Sorry,

That didn't work...It returns...

Error: Object not found: extMenu

Thanks though.

QUOTE(Geegrafix @ 02/06/06, 06:24 AM) [snapback]227509[/snapback]
Sorry,

That didn't work...It returns...

Error: Object not found: extMenu

Thanks though.

Try this man

CODE
unifiedRenderGlobalsWindow;
int $item = optionMenuGrp -q -sl extMenu;
setMayaSoftwareFrameExt($item , 0);
window -e -vis 0 unifiedRenderGlobalsWindow;

regds

o.S.k