Grasshopper Docs

Community documentation for Grasshopper add-ons & plugins

01 | Input
02 | Output
03 | Quantity
04 | Data Organization
05 | Flow

Calculate the next filename in a filepath series.

Inputs

NameIDDescriptionType
Pattern of filepathPFor example, 'D:\STLExport\{0}.stl' (without quote) will result in 'D:\STLExport\1.stl', '2.stl', etc. Follows 'String.Format' format. Please read manual for detailed information.String
Starting indexSDefault 1Integer
Quantity of filenamesCDefault -1 (doesn't output multiple names)Integer
Generate nextOKSet to true to generate the next filepathBoolean
ResetRSet to true to reset internal counter. Resetting won't bypass file existence check. We recommend to use the menu entry in the context menu as it doesn't trigger recomputation.Boolean

Outputs

NameIDDescriptionType
FilepathFPFile PathString
List of FilepathFPLFile Path (List)String
Counter of first fileCCounter of first fileInteger

Site design © Robin Rodricks.   Co-created by Andrew Heumann.   Pancake and associated data © 2020 Keyu Gan.  
Rhinoceros and Grasshopper are registered trademarks of Robert McNeel & Associates.  Hosted by GitHub

Report an Issue  |  Terms of Service