Process procedures

How to add non-standard program statements in the process editor? For example, the statement in the figure can call a script. But there is no such statement in the standard program statement.

Hi lucky,

You can add custom statement to process only though API. With python you can use following example to add custom statement to first process in executor.

process_executor = comp.findBehaviour( 'ProcessExecutor__HIDE__')
process = process_executor.Processes[0]
p = process.addStatement(VC_STATEMENT_PROCESS)

The process statement references a python process handler behavior where you can write your own logic to be executed.

Hi Este,

I’ve Copy Paste it from a Demo Layout which worked for me.

Regards
Feature