i want to create a subprogram/subroutine via script, which i then can fill with statements.
Problem is: vcRslProgramExecutor, which contains the needed method, is deprecated and vcExecutor doesn’t give the necessary method.

Is it still possible to create a subprogram or was this deleted?

Best regards!

Alright, sorry for the hasty question!

A bit of searching in the brought up the .addRoutine() method…

Best regards

This tutorial has the information on how to write statements to routines, subroutines etc.