tyPreview Maxscript Error
#1
Hello, 
i get an Maxscript Error when i try to open the tyPreview Window. See attached file. 
I always use "Tools menu -> preview - grab viewport -> create tyPreview. 
When i hit "Create tyPreview" the Error prompt comes. 

It used to work perfectly before; i used it all the time!

3Ds max 2017 SP2 
tyflow v0.16089 
vrayNext 43000 

I tried reinstalling the plugins - same error. 
I restarted windows and tried in a fresh Scene with only 1 Sphere; same Error. 
Can you reproduce this error? 

Thanks in advance Smile)

Edit:
i just read the pinned post on how to submit bugs.
However, this is reproducable with an empty Scene on my PC.
Would you still need me to provide the max Scene?
Thanks!

Edit2:
This is output of maxScript listener:


-- MAXScript MacroScript Error Exception:
-- Type error: Call needs function or class, got: undefined
-- MAXScript callstack:
-- thread data: threadID:624
-- ------------------------------------------------------
-- [stack level: 0]
-- In codeblock macroScript: tyFlow_tyPreviewWindowMacro; filename: C:\Users\moritz.horn\AppData\Local\Autodesk\3dsMax\2017 - 64bit\ENU\usermacros\tyFlow-tyPreviewWindowMacro.mcr; position: 107; line: 3
-- Locals:
-- tyPreviewWindow: undefined
-- Externals:
-- ------------------------------------------------------
-- [stack level: 1]
-- called from top-level


Also i can reproduce this on all machines in the office!
All have the same software configuration as in my OP.


Attached Files Thumbnail(s)
   
  Reply
#2
If you type tyPreview() or tyPreviewWindow() in the MAXScript listener, do you still get the error?
  Reply
#3
(08-11-2020, 03:00 PM)tyFlow Wrote: If you type tyPreview() or tyPreviewWindow() in the MAXScript listener, do you still get the error?

yes they both return undefined 

i tried in listener window and in a new maxScript window; see attached pngs.


Attached Files Thumbnail(s)
       
  Reply
#4
Can you triple check that you are using the latest build? It's very strange that the internal MAXScript bindings would just fail like that...
  Reply
#5
hey,
yes i will check tomorrow morning and reply here.
also, as i said before, it worked like a charm since i first started usingit; so problem is most likely on my end.
know when i think of what i changed in software configuration; i installed recap today X)
but maybe also our admin installed/changed something remotely; will ask him too.
windows update; for me there was none this week yet.
  Reply
#6
so i downloaded and reinstalled the latest build and its all working fine again.

i have a folder on the server that i use to distribute the same build to all machines.
i must have messed up and distributed some broken or wrong file into all machines.

im really sorry for posting this for bug; should have resolved this by myself...
  Reply
#7
Glad it's working. I figured it was a version mismatch since for MAXScript integration to just fail with no errors in the latest build would be....highly unlikely Smile
  Reply


Forum Jump: