You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simon Brown edited this page Sep 18, 2025
·
2 revisions
bBox_PythonGetVar( name )
Parameters:
name: Python variable name to return value of
Result:
date, numeric, or text value from variable
Error:
bBox_LastError (-3)
Script Step:
none
Return the value of a named Python global variable. Defaults to using string as type, but this can be specified to avoid (for instance) converting a Python numeric value to a string.
Python’s global variables are released when bBox_PythonFinalize is called, so you should extract any global values first. If passed the name of a non-existent Python variable an empty string is returned.
A future version of this function will require the session reference ID returned by bBox_PythonCompile.