fx notes

Search

Search IconIcon to open search

Op Operators

Last updated Jul 3, 2023 Edit Source

# Summary

Op Operators I will Never Memorize” is a fantastic blog post by Mohamad Salame that summarizes all the obscurities and pitfalls you will face when having to deal with the op syntax.

# Syntax

# Most Useful Ones

# HDA Files: opdef

Gives access to files stored in an HDA

1
`opdef:..?filename.ext`

or a .hda library

1
`oplib:..?filename/ext`

# Connected Inputs: opninputs

DOCs

Returns the number of the highest connected input. This is not the number of connected inputs. If a node has four inputs and the fourth input is connected, opninputs will return 4. If the first and third inputs are connected, opninputs will return 3.

1
`opninputs(".")`

# Node Name: opname

Returns the name of the specified node

1
`opname(".")`

# Texture From COPs: op

Can be used to pipe the output of a COPs network live into a texture input

1
op:`opfullpath("../cop2net1/OUT_COPS")`[$F]

# Use Input Name for Exports: opinput

Flexible ROP outputs

1
$HIP/geo/`opinput(".", 0)`.bgeo.sc


Interactive Graph