Scripting - Print
#1
This might be a very stupid issue im having, but i've tried to getting the Print function in the Script operator to work for a while now and i just cant seem to get it to print anything into the Maxscript listener.

My tyflow node has an event that has the Script Operator and just a Display, and the script node has this script in it:


Code:
public void simulationStart()
{
}
public void simulationStep()
{
Print("hello");
}
public void simulationStepThreaded(int startInx, int endInx, int threadInx)
{
}

The internal log in the Script operator says: "Script executed successfully!".

What i imagine would happen is that when i scrub the playerhead in the timeline i would get spammed with "hello" in the Maxscript Listener for every frame it was simulated, but nothing happens in the listener except the default messages tyflow prints there.

Please hit me in the head with the obvious issue im having with this xP
  Reply
#2
I downloaded the sample of scripting that just was released and it seems they dont work either.

Downloaded from here:
http://docs.tyflow.com/download/

The scenes we tested were:
tyFlow_scaleScript_001.max

We tried it on multiple computers at our company and we are running beta version 0.16008

Anyone else experiencing that the script operator doesnt work, or are we the only ones?

Do we need to install a csharp compiler or something?
  Reply
#3
Hello
Same here.

Did sample make in 3dsmax 2017? SDK for 2017?
  Reply
#4
Hey guys, can you confirm if you're using the English version of Windows?

I have a sneaking suspicion the issue may be related to non-English version of Windows and the .NET implementation in max....
  Reply
#5
(04-05-2019, 04:25 PM)tyFlow Wrote: Hey guys, can you confirm if you're using the English version of Windows?

I have a sneaking suspicion the issue may be related to non-English version of Windows and the .NET implementation in max....

Hello Tyson
You're right! Thank you! Heart

Switch to English and change regional data (from Russian)

Yes, i got it!


Attached Files Thumbnail(s)
   
  Reply
#6
Very odd that Windows language has an effect like that....I'll try to get to the bottom of it!
  Reply
#7
Tried to switch to English and indeed it works now.

But... What about my umlauts? They'll surely be missed.

Aha i see the patch fixed this issue. Thanks =)
  Reply
#8
I don't think the Windows language was part of the issue. More likely it was the regional settings, especially the number format.
Reason is I had English Windows language but regional settings is in Swedish and I had the bug as well.
Am I right in that Tyson?
  Reply


Forum Jump: