C block using param

@mosfet,

If you’re careful, you can modify the C-block for new or deleted inputs, outputs and input parameters by hand.
I do it all the time.

You do have to know the order of the inputs first as they appear on the C-block symbol. Then the input parameters then the outputs.

You can even change the order of these elements on symbol.

Give it a try. It beats reloading a new template then copying your operation code over to the new template.

Check @RDunn github projects. One of them deals with the issue about updating C-block data structure without generating a new template.

Here’s the link: C-Block Coding Basics - #19 by RDunn

Here’s n Overview of his QCodeGen program:

2 Likes