You can get some info how to store-restore style from this topic:
How can update rendering_options of page? - Developers / Ruby API - SketchUp Community
You can get some info how to store-restore style from this topic:
How can update rendering_options of page? - Developers / Ruby API - SketchUp Community