sopcache command

Manipulates the internal surface cache.

Replaced by: hou.SopCacheWatermark, hou.cache.sop

All Usages Options

See also: texcache, geocache, objcache, opunload

Usages

  1. sopcache [-q] [-v] [-c] [-l] [-L] [-s] [-m memory] [-M never|always] [-U never|flag|always] [-W name never|always depth] [-w name]

Options

-q

Quiet mode. The command will be performed with no output.

-v

Verbose mode. Extra information will be output.

-c

Clear the SOP cache. Every loaded SOP will attempt to unload itself. They may not unload if the SOP is currently in use (e.g. displayed).

-l

Print the cache status. This displays the current estimated memory use by SOPs and the number of SOPs that have active data.

-L

Print the full path of all active SOPs. If verbose mode is also set with -v, the memory size of each SOP will also be output. The SOPs will then be sorted by memory usage.

-s

Print the current settings.

-m memory

Maximum memory limit (used by -M)

-M never|always

Unload cache on reaching the memory limit (-m) (never = ignore memory limit, always = unload when limit reached).

-U never|flag|always

Unload surface operators (never = do not unload surface operators, flag = unload if operator’s unload flag is set, always = unload all operators regardless of unload flag).

-W name never|always depth

Behavior of checkpoints. The named checkpoint will be enabled according the enable value and will have a maximum depth set according the the depth value.

-w name

Set a checkpoint of the given name. If the checkpoint is enabled, all SOPs not touched since the previous depth checkpoint of this name will be unloaded.