Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] I need help! => Topic started by: Christa Noel on 2015-11-24, 11:11:47

Title: what is the script name for IR in extended viewport?
Post by: Christa Noel on 2015-11-24, 11:11:47
hi guys, these days trying on basic max script learning ;). I want to make a button to activate IR in extended viewport but I don't know what is the script name for IR in extendedviewport.
Title: Re: what is the script name for IR in extended viewport?
Post by: romullus on 2015-11-24, 11:21:14
Here you go: https://corona-renderer.com/wiki/maxscript
Title: Re: what is the script name for IR in extended viewport?
Post by: Christa Noel on 2015-11-25, 03:14:56
thanx romullus :), I know CoronaRenderer.CoronaFp.startinteractivedocked but what I mean is set the viewport to extended viewport with IR.
sorry for wrong explanation before.
cheers!
Title: Re: what is the script name for IR in extended viewport?
Post by: romullus on 2015-11-25, 09:24:13
For that you should refer to maxscript help: http://help.autodesk.com/view/3DSMAX/2016/ENU/?guid=__files_GUID_3E389A4A_740A_4D64_888D_04A51EBA061A_htm

However it looks like that particular extended viewport isn't accesible via maxscript (i can be wrong, though). Personally i've assigned shortcut to extended viewport #3 (Corona interactive) via customize user interface. So now, when i need IR, i hover mouse over prefered viewport, press F11 (my shortcut for extended viewport #3) and then click on that viewport to activate IR. It's good enough for me, but i'm sure, someone much smarter than me, will show you even more convenient method ;]
Title: Re: what is the script name for IR in extended viewport?
Post by: Christa Noel on 2015-12-04, 03:54:25
sorry for late reply,
yes romullus, I was right in there in viewpanelmanager to set extendedview.
what I mean is I can set the viewport 1 to extended VP trackview with
Code: [Select]
ViewPanelManager.SetExtendedView 2 #ev_type_tree

but I don't know how to set my viewport to extended VP coronaIR.
cheers & thanx
Title: Re: what is the script name for IR in extended viewport?
Post by: Christa Noel on 2015-12-12, 05:45:14
for ondra, if it is necessary could you please add the maxscript name for IR in extended?
Title: Re: what is the script name for IR in extended viewport?
Post by: Ondra on 2015-12-12, 20:20:09
I would love to, but... max api :(
Title: Re: what is the script name for IR in extended viewport?
Post by: Christa Noel on 2015-12-14, 02:53:31
I would love to, but... max api :(
so max API limits that cool things...,
ok thanx & cheers :)