Sequence Class
An object describing a set of sequential parameter blocks. Accessed via the sequence
member of parameters.
seq = op('/base1').par.iopshortcut1.sequence # get the sequence object
print(len(seq)) # number of par blocks in the sequence
print(seq[0]) # first par block in the sequence
for parBlock in seq:
print(parBlock) # print all par blocks
seq.numBlocks += 1 # add a new block of parameters (same as pressing + in the UI)
# A parameter block is a tuple of parameters that make up one block in a set of sequential parameters.
Members
owner
→ OP
(Read Only):
The OP to which this object belongs.
numBlocks
→ int
:
Get or set the total number of parameter blocks in this sequence.
maxBlocks
→ int
(Read Only):
The maximum number of blocks allowed in the sequence, or None if limitless.
blocks
→ set
(Read Only):
The set of all blocks in this sequence. A block is a set of parameters which can be repeated in an operator.
Methods
No operator specific methods.
TouchDesigner Build: