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

# A parameter block is a tuple of parameters that make up one block in a set of sequential parameters.


ownerOP (Read Only):

The OP to which this object belongs.

numBlocksint :

Get or set the total number of parameter blocks in this sequence.

maxBlocksint (Read Only):

The maximum number of blocks allowed in the sequence, or None if limitless.

blocksset (Read Only):

The set of all blocks in this sequence. A block is a set of parameters which can be repeated in an operator.


No operator specific methods.

TouchDesigner Build: