int the API documentation there is written the following:
But I don't see any way to specify the block type as pattern from Python and where/how to specify the arguments.Tasks command pattern. When block produces a task it calculates an unique command from this pattern and other parameters, depend on block type - numeric or string, replacing @#@ pattern with a number. Padding is specified by the number of "/" symbols between "@" symbols.
String: block seek for "@#@" string in command and replace it by another string get from Task Command.
Example:
command = myrender some.scene -camera @#@
arguments = ['sun','sky','front','side','bottom']
Result:
1st task command: myrender some.scene -camera sun
2nd task command: myrender some.scene -camera sky
3rd task command: myrender some.scene -camera front
...
I only see af.Block.setNumeric method.
I was expecting something like af.Block.setPattern but there isn't such method.
How can I do it ?
Thanks,
Gianluca.