Hello Ventuzians!
THE FORUMS ARE CLOSED!

Please join our discord server HERE!! << click me :D

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 ?

Q and A about functionality and how to solve a special task for your application.

Moderator: Support

Post Reply
User avatar
florian
Posts: 58
Joined: 18 Feb 2012, 19:42

VBScript / Where to find full VBscript manual ?

Post by florian » 21 Feb 2012, 21:47

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,
Florian

User avatar
Daniel Willer
Posts: 309
Joined: 06 Jan 2012, 18:12

Re: VBScript / Where to find full VBscript manual ?

Post by Daniel Willer » 22 Feb 2012, 11:57

MSDN is your friend

User avatar
florian
Posts: 58
Joined: 18 Feb 2012, 19:42

Re: VBScript / Where to find full VBscript manual ?

Post by florian » 22 Feb 2012, 19:01

Great !
And what about Ventuz special functions like Ventuz.Kernel.Animation.PerformanceTimerHard.Now ?
Florian

iotek

Re: VBScript / Where to find full VBscript manual ?

Post by iotek » 04 Oct 2012, 21:30

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

User avatar
Daniel Willer
Posts: 309
Joined: 06 Jan 2012, 18:12

Re: VBScript / Where to find full VBscript manual ?

Post by Daniel Willer » 05 Oct 2012, 08:03

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!

iotek

Re: VBScript / Where to find full VBscript manual ?

Post by iotek » 08 Oct 2012, 10:34

florian wrote:Great !
And what about Ventuz special functions like Ventuz.Kernel.Animation.PerformanceTimerHard.Now ?
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,
Its not about a specific script i'm having problems with exactly.

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

User avatar
Daniel Willer
Posts: 309
Joined: 06 Jan 2012, 18:12

Re: VBScript / Where to find full VBscript manual ?

Post by Daniel Willer » 08 Oct 2012, 13:00

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.

Code: Select all

Float2 = Float1
changed = true
Just copy the code to the Validate() method

Post Reply