DONE !
FYI,… Finally, … the API has been updated for version 2018 and higher …
… both a query method and a setter method have been added to the Sketchup::Page
class.
Sketchup::Page.include_in_animation=
Sketchup::Page.include_in_animation?
Old request ... (click to expand) ...
Please implement Ruby scene instance methods for the Sketchup::Page
class:
Sketchup::Page # use_in_animation?
[Boolean] Return true || false
if this scene page is set to be included in animations.
Sketchup::Page # use_in_animation=( flag = true )
(perhaps alias: use_in_animation
)
@flag
[Boolean] Set if this scene page is to be included in animations. (Default is true
.)
Return result of setting.
Testing on SU2015 shows that the “include in animation” flag is applied or deactivated immediately, with no need to manually cause a scene page “Update”.
Therefore, I have not requested another integer bit code (128
) for the Sketchup::Page # update()
method.
But if I am in error, and a new bit code is really needed, then of course add it, also.