GetScalar, GetVector
script: convert ScalarIf -> float64
script: convert VectorIf -> [3]float64