# Query Frame/animation Ext

**URL:** https://forum.highend3d.com/t/query-frame-animation-ext/3327
**Category:** Maya
**Tags:** mel
**Created:** [February 2, 2006, 10:20pm UTC](https://forum.highend3d.com/t/query-frame-animation-ext/3327 "2006-02-02T22:20:41Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![geegrafix](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/g/ba9def/32.png) [@geegrafix](https://forum.highend3d.com/u/geegrafix)
#### Post date: [February 2, 2006, 10:20pm UTC](https://forum.highend3d.com/t/query-frame-animation-ext/3327/1 "2006-02-02T22:20:41Z")

</div>

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

---

<div class="post-metadata">

### Author: ![kurianos3d](https://forum.highend3d.com/user_avatar/forum.highend3d.com/kurianos3d/32/55947_2.png) [@kurianos3d](https://forum.highend3d.com/u/kurianos3d)
#### Post date: [February 4, 2006, 10:45am UTC](https://forum.highend3d.com/t/query-frame-animation-ext/3327/2 "2006-02-04T10:45:08Z")

</div>

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  
&nbsp;&nbsp;//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

---

<div class="post-metadata">

### Author: ![joojaa](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/j/5daacb/32.png) [@joojaa](https://forum.highend3d.com/u/joojaa)
#### Post date: [February 4, 2006, 11:35am UTC](https://forum.highend3d.com/t/query-frame-animation-ext/3327/3 "2006-02-04T11:35:00Z")

</div>

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!

---

<div class="post-metadata">

### Author: ![kurianos3d](https://forum.highend3d.com/user_avatar/forum.highend3d.com/kurianos3d/32/55947_2.png) [@kurianos3d](https://forum.highend3d.com/u/kurianos3d)
#### Post date: [February 4, 2006, 11:46am UTC](https://forum.highend3d.com/t/query-frame-animation-ext/3327/4 "2006-02-04T11:46:26Z")

</div>

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.. ![](http://www.highend3d.com/boards/style_emoticons/<#EMO_DIR#>/smile.gif)

o.S.k

---

<div class="post-metadata">

### Author: ![geegrafix](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/g/ba9def/32.png) [@geegrafix](https://forum.highend3d.com/u/geegrafix)
#### Post date: [February 6, 2006, 2:24pm UTC](https://forum.highend3d.com/t/query-frame-animation-ext/3327/5 "2006-02-06T14:24:15Z")

</div>

Sorry,

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

Error: Object not found: extMenu

Thanks though.

---

<div class="post-metadata">

### Author: ![kurianos3d](https://forum.highend3d.com/user_avatar/forum.highend3d.com/kurianos3d/32/55947_2.png) [@kurianos3d](https://forum.highend3d.com/u/kurianos3d)
#### Post date: [February 18, 2006, 7:03am UTC](https://forum.highend3d.com/t/query-frame-animation-ext/3327/6 "2006-02-18T07:03:24Z")

</div>

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
