Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] Feature Requests => [Max] Resolved Feature Requests => Topic started by: 3dwannab on 2015-01-16, 17:25:08

Title: SCRIPT HELP: CoronaRenderer.CoronaFp.showVfb() (Close it function?)
Post by: 3dwannab on 2015-01-16, 17:25:08
Is there a function to close the VFB?

No matter what the line:
CoronaRenderer.CoronaFp.showVfb()

returns 0 both when it's open and closed. Thanks.
Title: Re: SCRIPT HELP: CoronaRenderer.CoronaFp.showVfb() (Close it function?)
Post by: 3dwannab on 2015-01-16, 17:28:43
Also. Is there a way to have two different tooltips for both a spinner and it's field value?
Title: Re: SCRIPT HELP: CoronaRenderer.CoronaFp.showVfb() (Close it function?)
Post by: Ondra on 2015-01-18, 21:47:14
implemented - showVfb now takes 1 argument
Title: Re: SCRIPT HELP: CoronaRenderer.CoronaFp.showVfb() (Close it function?)
Post by: 3dwannab on 2015-01-18, 22:10:34
Thanks. How do you get different tooltips for spinners and text values for the same spinner. I've only seen this with the corona render dialog and not anywhere else in max. Is this secret coding or? :)
Title: Re: SCRIPT HELP: CoronaRenderer.CoronaFp.showVfb() (Close it function?)
Post by: Ondra on 2015-01-18, 22:23:48
well in corona that is a bug :D I am using 3dsmax API way for adding a tooltip, and 3dsmax fucks it up.
Title: Re: SCRIPT HELP: CoronaRenderer.CoronaFp.showVfb() (Close it function?)
Post by: 3dwannab on 2015-01-19, 01:43:31
Maxscript help does that also. I'm only starting out but it's like reading Leonardo da Vinci's personal notes!

Still thanks for the info. I do like that though. Min | max | Default values for the text and the tooltip for the spinners.
Title: Re: SCRIPT HELP: CoronaRenderer.CoronaFp.showVfb() (Close it function?)
Post by: 3dwannab on 2015-01-20, 05:08:46
implemented - showVfb now takes 1 argument
These all don't have any effect on the VFB. Is it working for you? I'm using the latest build 19.01.2015..

Is the syntax correct I'm using?

Code: [Select]
showVfb = 0
0
showVfb = 1
1
showVfb = false
false
showVfb = true
true
Code: [Select]
CoronaRenderer.CoronaFp.showVfb() = false
-- No ""="" function for ((prop showVfb (prop CoronaFp Global:CoronaRenderer)))
CoronaRenderer.CoronaFp.showVfb() = true
-- No ""="" function for ((prop showVfb (prop CoronaFp Global:CoronaRenderer)))
CoronaRenderer.CoronaFp.showVfb() = 0
-- No ""="" function for ((prop showVfb (prop CoronaFp Global:CoronaRenderer)))
CoronaRenderer.CoronaFp.showVfb() = 1
-- No ""="" function for ((prop showVfb (prop CoronaFp Global:CoronaRenderer)))
CoronaRenderer.CoronaFp.showVfb = 0
-- Unknown property: "showVfb" in <Interface:CoronaFp>
Title: Re: SCRIPT HELP: CoronaRenderer.CoronaFp.showVfb() (Close it function?)
Post by: racoonart on 2015-01-20, 09:53:46
it's a function, not a property.

try:
Code: [Select]
CoronaRenderer.CoronaFp.showVfb true
Title: Re: SCRIPT HELP: CoronaRenderer.CoronaFp.showVfb() (Close it function?)
Post by: 3dwannab on 2015-01-20, 16:17:01
Thanks. I've still a lot to learn...