→ tuple of floats
This function will force the return type to be an Hscript vector. Because Hscript vectors can be be of different lengths, the value is returned as a tuple of floats. If you know the vector is a particular length, you can construct a Vector2/Vector3/Vector4 out of the return value.
Most of the time, you want to use hou.hscriptExpression() over this function.
vector = hou.Vector3(hou.hscriptVectorExpression('vtorigin("/obj/geo1", "/obj/geo2")')) print vector.length()
Raises hou.OperationFailed if the expression is invalid or generates an error occur during evaluation.