isAutoContextOption(option)
→ bool
Return True
if the specified context option is an automatic option, whose value is normally controlled by Houdini rather than set by the user. This does not necessarily indicate that the current value has been set automatically, as any context option can be overridden by a script or a node in the network. But if an automatic option is not being set by any other source, it will still be set to a value determined by the following rules:
fend
The last frame of the global Houdini frame range. Equivalent to theFEND
global variable.
finc
The current playbar step size.
fps
The current playbar frames per second (FPS) setting.
fstart
The first frame of the global Houdini frame range. Equivalent to theFSTART
global variable.
rfend
The last frame of the current playback range. Equivalent to theRFEND
global variable.
rfstart
The first frame of the current playback range. Equivalent to theRFSTART
global variable.
ropcook
An integer value that will be 1
while a ROP node is running, otherwise 0
.
ropend
The last frame of the range being evaluated by the currently cooking ROP node. If no ROP node is cooking, it will be equal to the fend
automatic option.
ropinc
The increment value of the frame range being evaluated by the currently cooking ROP node. If no ROP node is cooking, it will be equal to the finc
automatic option.
ropname
A string set to the name of the ROP node that is currently running, otherwise an empty string.
roppath
A string set to the full path of the ROP node that is currently running, otherwise an empty string.
ropstart
The first frame of the range being evaluated by the currently cooking ROP node. If no ROP node is cooking, it will be equal to the fstart
automatic option.
See also |