How to save multiple images of viewports


#1

Hello!

I’m trying to use CaptureView to save several images, one image of each Viewport. In this example I’m trying to save images of two viewports but the script only ends up saving one viewport.

image


#2

Hi @Astaahl,
To save multiple views by one capture view component set the viewNames_ input to Graft:


#3

It should work without Grafting. viewNames_ is a list and the component loops through the input views.

@Astaahl, is it possible to use ASCII characters for view names?


#4

is it possible to use ASCII characters for view names?

index

@mostapha (never forget!)


#5

Hi @OmidmRashidi,
This is some nice tool you’re using to annotate images. Can you please share which is it?


#6

Hi @devang , FastStone Capture


#7

Graft did not work. Instead it only saves the current viewport.

@mostapha Whenever I try to go into font settings in the panel Rhinoceros crashes so I cant change that.

TEST viewcapture.gh (454.4 KB)


#8

Bump!

Anyone tried the script attached?


#9

Hi @Astaahl,
You can iterate through all the viewnames by doing something like the following;


This does involve using a Colibri component.


#10

what if I want to capture the specific area? For example, I only want to capture the image inside my rectangular