tyFlow Forum
Maxscript - Printable Version

+- tyFlow Forum (https://forum.tyflow.com)
+-- Forum: tyFlow Discussion (https://forum.tyflow.com/forum-1.html)
+--- Forum: General Discussion (https://forum.tyflow.com/forum-2.html)
+--- Thread: Maxscript (/thread-3389.html)



Maxscript - Matthew_turner2022 - 11-17-2022

I'm trying to write a max script that opens up a new tyflow and then sets up a custom flow automatically. 

Is it possible for max script to talk to tyflow in this way? There's nothing in the max listener window when changing parameters within tyflow. 

I'm able to get the script to open but struggling for any documentation on how to proceed. Many thanks.

This code opens up a new flow:


Code:
tyFlowArray = for i in (getClassInstances tyFlow) collect i
if tyFlowArray.count != 0 then tyFlowArray[1].editor_open()
else
(
    newtyFlow = tyFlow()
    newtyFlow.editor_open()    
    select newtyFlow
)



RE: Maxscript - tyFlow - 11-17-2022

Right now there's no way to create operators with MAXScript.

That's on the todo list and will be something I add at some point in the future.


RE: Maxscript - Matthew_turner2022 - 11-17-2022

ok thanks for the reply Smile