Iris API to change Material (Display Mode in Rhino)

Going through Iris API documentation, I can’t find any function to call “Material” change (“Display Mode” in Rhino). How can we achieve to change from “wireframe” to “shaded” via JS?

you can use iris.OverrideMaterial('wireframe') and pass the name of the shaded mode (lowercase).

1 Like