Grasshopper

algorithmic modeling for Rhino

Hi all

I need to do a series of screencaptures using VB. I've created a definition that changes the position of the camera of the viewport a number of times and captures the screen at every new position.

The viewport however does not update quick enough so i just get screencaptures of the first position.

I've worked around this by prompting the user for screencapture input, but this is not a good solution as the user will have to click around a 1000 times.

Any ideas?

/Thomas

Views: 328

Replies to This Discussion

Thomas,

1. set the camera
2. Call Regen() on the current document to force a redraw of all viewports
3. Call the -_ViewCaptureToFile command with all appropriate settings

You may also have to make sure that the correct viewport is active before you export.
Thanks alot, it worked!!

/Thomas

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service