How do I find all locked OPs?

I had an auto-saved file from a crash in which all locked OPs were corrupted. How do I find all currently locked OPs using search or opfind?

In the OP Find DAT’s include() function, put something like return curOp.lock == True to cut out the unlocked OPs.

1 Like

For anyone searching for this later, here’s worked for me:

image

(this is in the callbacks of the OP Find DAT)

Can the new Search and Replace dialog be used for this same purpose? I tried to use Filter Script:

operator.lock

but it doesn’t seem to find locked COMPs, just locked TOPs / CHOPs / DATs