Grasshopper Docs

Community documentation for Grasshopper add-ons & plugins

File I-O

Saves a bitmap of the selected Rhino viewport - with options
Make sure this object is on top of all other objects
(i.e.executes last)


File PathPFile absolute path Path MUST already existText
File NameFFilename and extension - for example screencap.png use # to set the number of digits ex screencap####.png > screencap_0000.png if omitted the default is 3 digitsText
Viewport NameVName of the Rhino Viewport to capture leave empty for current viewText
Image sizeWxHImage size in pixels, WxH (ex. 1920x1080) leave empty for viewport resolutionText
ScaleSImage size multiplier ex. 1920x1080 * 1.2 = 2304x1296Number
GridgShow GridBoolean
AxesAShow AxesBoolean
WidgetWShow XYZ WidgetBoolean
CaptureCActivate CaptureBoolean
TriggertAttach any value - if Capture is True, the value change will trigger a view captureGeneric Data

Site design © Robin Rodricks.   FroGH and associated data © 2023 Co-de-iT (Computational Design Italy).  
Rhinoceros and Grasshopper are registered trademarks of Robert McNeel & Associates.  Hosted by GitHub

Report an Issue  |  Terms of Service