This command will return the value of the property with the specified name.
code = """
Effect "MyEffect" {
Float MyProperty { value 0.5 }
Shader {
BEGIN Material
m.diffuse = vec3(1.0,0.0,0.0);
END
}
}
"""
effect = viz.addEffect(code)
# Will print out '0.5'
print(effect.getProperty('MyProperty'))