Find operators that match a set of criteria.
opfind [-t type_pattern] [-T network_type] [-n name_pattern] [-N fullpath_pattern] [-p path] [-s] [-i [-w]] pattern
Prints the full path of all operators that match all given search criteria.
Find operators whose type matches type_pattern.
Find operators of network_type (see optype for information on network types).
Find operators with names matching name_pattern.
Find operators with full paths matching fullpath_pattern.
Start searching from this path in the operator hierarchy. If you don’t specify a path, the search begins at the root (/).
Find operators with parameter values matching pattern
Causes this command to search only one network, and not recurse into child networks. Also, this option changes the output of this command to only show the node name rather than the full path of the node
Causes this command to search only one network, and not recurse into child networks. Unlike -s, this option shows the full path of the node.
Normally, pattern only matches whole words (for example, pattern “myobj” would not match value “myobj1”. You can use the -i flag to make the pattern match word substrings.
If you specified -i (substring parameter search), you also specify -w to allow wildcard matches (? and *) in the parameter search.
opfind light1Find all expression referencing light1
opfind -n lightFind all ops named light
opfind -T SHOPFind all SHOPs.
opfind -t lightFind all ops of type light
opfind -p /objFind all ops under /obj.
opfind -s -t lightFind all the lights in the current net