Hi,
i'm looking for a VB script manual for Ventuz.
Where could we get it ?
I see in samples "beatNow = Ventuz.Kernel.Animation.PerformanceTimerHard.Now"
or I want to set the value of a string output, but seems to be undocumented.
Thanks,
Hello Ventuzians!
THE FORUMS ARE CLOSED!
Please join our discord server HERE!! << click me
We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server
Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!
THE FORUMS ARE CLOSED!
Please join our discord server HERE!! << click me
We are shutting our Ventuz Forum, but don't worry, it will all be archived for you to search in if you have a query. From now on, please add all your comments, questions or observations into our Discord Server
Thanks for the great time - see you on discord!!
Dee, Karol, Daniel and the whoooole Product and Support team!
VBScript / Where to find full VBscript manual ?
Moderator: Support
- Daniel Willer
- Posts: 309
- Joined: 06 Jan 2012, 18:12
Re: VBScript / Where to find full VBscript manual ?
MSDN is your friend
Re: VBScript / Where to find full VBscript manual ?
Great !
And what about Ventuz special functions like Ventuz.Kernel.Animation.PerformanceTimerHard.Now ?
And what about Ventuz special functions like Ventuz.Kernel.Animation.PerformanceTimerHard.Now ?
Florian
Re: VBScript / Where to find full VBscript manual ?
Hi
Same question from me....MSDN is obviously the ultimate reference tool for scripting, but i'm struggling to transfer VB scripting skills over to Ventuz.
I can't find any reference to specific Ventuz scripting code....does such a reference exist?
cheers
chris
Same question from me....MSDN is obviously the ultimate reference tool for scripting, but i'm struggling to transfer VB scripting skills over to Ventuz.
I can't find any reference to specific Ventuz scripting code....does such a reference exist?
cheers
chris
- Daniel Willer
- Posts: 309
- Joined: 06 Jan 2012, 18:12
Re: VBScript / Where to find full VBscript manual ?
Hey Guys
There is no VB ventuz spezific reference. All you need to know is written down in the UserManual (Press F1 on the Script node) even if most of the code examples are written in C# it should not be that hard to transfer.
The most common mistake is that people forget to set the changed flag if a value changes in that case the outputs and the connected nodes will not validate and just nothing happens even if the values are changing on the node itself.
I dont' know if that's your problem, if not you need to post your props and we will have a look at.
Cherio!
There is no VB ventuz spezific reference. All you need to know is written down in the UserManual (Press F1 on the Script node) even if most of the code examples are written in C# it should not be that hard to transfer.
The most common mistake is that people forget to set the changed flag if a value changes in that case the outputs and the connected nodes will not validate and just nothing happens even if the values are changing on the node itself.
I dont' know if that's your problem, if not you need to post your props and we will have a look at.
Cherio!
Re: VBScript / Where to find full VBscript manual ?
florian wrote:Great !
And what about Ventuz special functions like Ventuz.Kernel.Animation.PerformanceTimerHard.Now ?
Its not about a specific script i'm having problems with exactly.florian wrote:Hi,
i'm looking for a VB script manual for Ventuz.
Where could we get it ?
I see in samples "beatNow = Ventuz.Kernel.Animation.PerformanceTimerHard.Now"
or I want to set the value of a string output, but seems to be undocumented.
Thanks,
For example the 2 posts from florian; both of these are listed in the examples (F1) but how many more are there like this that are not listed?
Example from myself; i'm trying to simply pass values to inputs and outputs that i have created....but how do I address these inputs and outputs in code?? there is no simple reference to say 'like this'
Sorry if i'm missing something basic by a mile...but I am just struggling with this and I feel a simple reference list in the manual would be a great help to all
Am I the only person who is mystified by script nodes....) :-S
many thanks
chris
- Daniel Willer
- Posts: 309
- Joined: 06 Jan 2012, 18:12
Re: VBScript / Where to find full VBscript manual ?
If you have to float values as input and output where Flaot1 is your input and Flaot2 is the output a simple example looks like that.
Just copy the code to the Validate() method
Code: Select all
Float2 = Float1
changed = true