11-17-2022, 01:38 PM
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:
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
)