# Bug? - model.pages.show\_frame\_at - section planes

**URL:** <https://forums.sketchup.com/t/bug-model-pages-show-frame-at-section-planes/39681>\
**Category:** Ruby API\
**Tags:** bug, ruby, api\
**Created:** [February 22, 2017, 8:53am UTC](https://forums.sketchup.com/t/bug-model-pages-show-frame-at-section-planes/39681 "2017-02-22T08:53:15Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![DanRathbun](https://sea2.discourse-cdn.com/sketchup/user_avatar/forums.sketchup.com/danrathbun/32/500_2.png) [@DanRathbun](https://forums.sketchup.com/u/DanRathbun)\
**Post date:** [June 4, 2017, 4:43pm UTC](https://forums.sketchup.com/t/bug-model-pages-show-frame-at-section-planes/39681/4 "2017-06-04T16:43:08Z")

</div>

> [@RegularPolygon](#):
>
> It is interesting that no one has taken a position one way or the other.

**(1)** I thought this was noted previously, and discussed.  
I know I’ve run into some weirdness with section planes animating between scenes myself.

**EDIT** : This is the previous topic:

> [@SectionPlane Active Cut in Ruby](https://forums.sketchup.com/t/sectionplane-active-cut-in-ruby/37113):
>
> I am unable to set the active cut in Ruby and have it display in a Scene (Page). I have tried both the active\_section\_plane(sec\_plane) method and the activate method and neither seem to set the active cut. If I use menu View/Hidden Geometry, tool Display Section Planes, Display Section Cuts and the context menu Active Cut with the desired plane selected all works. But I am unable to code this in Ruby and get the same results. I have the style used by the page set to display the Section Cuts. Wh…

**(2)** I was always under the impression that **`Pages#show_frame_at(`_t_`)`** method was for inspection purposes and not really for heavy custom animation. At least I myself have never and would never use it when writing an animation plugin.  
There are too many other strange things that happen (or do not happen) if we try to use the rudimentary built-in scene animation feature, (ie, some properties like hidden and materials not interpolating but just switching 100% on the 1st frame, and the strange interpolations of target to eye paths [ie, the distance is not static as one would expect.])

Myself, I’d always use an abstract [**`Sketchup::Animation`**](http://ruby.sketchup.com/Sketchup/Animation.html) class.  
Yes, it’s more work, but you have so much more control.

> **[Class: Sketchup::Animation](https://ruby.sketchup.com/Sketchup/Animation.html)**
>
> The Sketchup::Animation interface is implemented to create animations inside SketchUp.

---

_[View the full topic](https://forums.sketchup.com/t/bug-model-pages-show-frame-at-section-planes/39681)._
