Based on my most recent self-education, I would like to share the following findings.
(As you may know, I don’t have GitHub account, and I’m not planning to have one lately
… but I’m still reading.)
Preconditions:
Empty modell opened.
Sketchup.version: 21.1.299 (Windows)
console:
model = Sketchup.active_model
pages = model.pages
page = pages.add "My Page"
#<Sketchup::Page:0x000001fe14dcd5c0>
The documentation incorrectly states:
Actually, it always returns a Camera object, regardless of that the page does or does not save camera information.
console:
page.use_camera?
true
page.camera
#<Sketchup::Camera:0x000001fe15028978>
page.use_camera = false
false
page.use_camera?
false
page.camera
#<Sketchup::Camera:0x000001fe1445a998>
#2
#label ⇒ Object
#name ⇒ Object
Could be good to mention in documentation, that the two objects are returning same string if #include_in_animation? returns true.
Otherwise the label differs from the name in that the label is similar as the name string but in parentheses. E.g.:
Name: ______ Label:
‘My page’ __ ‘(My Page)’
#3
#include_in_animation? ⇒ Boolean
The example in the documentation does not toggle inclusion. It is collecting the pages which are included in animation.

#4
#layer_folders ⇒ Array<Sketchup::LayerFolder>?
#layers ⇒ Array<Sketchup::Layer>?
It is incorrectly stated in the documentation which method the returned value depends on.


Correctly: the #use_hidden_layers? method must be mentioned.
( Perhaps could be good to mention in the example (Test layer visibility) that the visible_in_scene? method will return error if #use_hidden_layers? returns false. )
The documentation text should be rearranged and typo has to be corrected. Perhaps the Returns needs to be more consistently described.
The documentation incorrectly states:
Actually, it always returns a ShadowInfo object, regardless of that the page does or does not save Shadow information.
console:
page.shadow_info
#<Sketchup::ShadowInfo:0x000002685b9c23c0>
page.use_shadow_info?
true
page.use_shadow_info = false
false
page.use_shadow_info?
false
page.shadow_info
#<Sketchup::ShadowInfo:0x000002685b9c23c0>
#7
#use_rendering_options= (setting) ⇒ Object
#use_rendering_options? ⇒ Boolean
#use_style= (style) ⇒ Object
#use_style? ⇒ Boolean
Perhaps could be good to mention in the documentation:
If you are setting the #use_rendering_optoins= it will also toggle the page to use the style.
And and vice versa:
If you are applying a style to the page it will force the rendering options to use.
It is interesting to see that all other setters use a Boolean (TrueClass or FalseClass) to set, but the #use_style= is using the style object.
console:
page.use_rendering_options?
true
page.use_style?
true
style = page.style
#<Sketchup::Style:0x000002685c6b9010>
page.use_rendering_options = false
false
page.use_style?
false
page.use_style = style
#<Sketchup::Style:0x000002685c6b9010>
page.use_style?
true
page.use_rendering_options?
true


