Page.update and scene thumbnail


#1

Hello, i am trying to create page (scene) using this code:

model = Sketchup.active_model
pages = model.pages
page = pages.add "My Page"
status = page.update

In result i am getting this scene:

if i press manually update scene then thumbnail is shown correctly:

how to make it update correctly with script, i have tryed to pass all flags:
page.update(127)
but that does not work.
Thank You


#2

the window is updated using…

UI.refresh_inspectors

john


#3

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.