# VrayRT maxscript commands

**URL:** <https://forums.chaos.com/t/vrayrt-maxscript-commands/20863>\
**Category:** General\
**Created:** [June 4, 2009, 9:03am UTC](https://forums.chaos.com/t/vrayrt-maxscript-commands/20863 "2009-06-04T09:03:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![plastic](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/plastic/32/11567_2.png) [@plastic](https://forums.chaos.com/u/plastic)\
**Post date:** [June 4, 2009, 9:03am UTC](https://forums.chaos.com/t/vrayrt-maxscript-commands/20863/1 "2009-06-04T09:03:11Z")

</div>

here is a list of methods/properties:

show renderers.activeShade

→

.traceDepth : integer  
.gi : boolean  
.gi\_depth : integer  
.bundleSize : integer  
.raysPerPixel : integer  
.coherentTracing : boolean  
.showStatistics : boolean  
.overrideMtl\_on : boolean  
.overrideMtl\_mtl : material  
.vrscene\_on : boolean  
.vrscene\_fileName : filename  
.vrscene\_dontRender : boolean

viewport:

actionMan.executeAction 0 “40701” --render active shade (window)

actionMan.executeAction 0 “40702” -- Render: ActiveShade Viewport  
--this command starts activeshade in the current viewport

actionMan.executeAction 6 “40713” -- ActiveShade: Close  
--this command should close it, but it doesn’t work?

that’s what I found for now…

---

<div class="post-metadata">

**Author:** ![Subburb](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/subburb/32/70505_2.png) [@Subburb](https://forums.chaos.com/u/Subburb)\
**Post date:** [February 22, 2013, 10:19am UTC](https://forums.chaos.com/t/vrayrt-maxscript-commands/20863/2 "2013-02-22T10:19:17Z")

</div>

Hello !  
You can also use the command :  
renderers.renderDialogMode = #ActiveShade  
then “max quick render” to run an activeshade render  
of course it’s better to check if activeshade is RT before : renderers.activeshade = vrayrt()

Does anyone know how to close the activeshade window via Script !!! I’m crying to know how to do that…
