pythonexprf expression function

Evaluates a Python expression, returning a float result.

All Usage Examples

See also: python, pythonexprs

Usage

pythonexprf(expression)

If the expression evaluates to something other than a string, or if it raises an exception, this function returns 0.

Examples

pythonexprf("hou.frame()")

Returns the current frame number.