We need your help! 🔥
Please consider disabling your ad-blocker to support this website! 🔑
We are a free, community-supported website! 🥰
We only display small unobtrusive ads which help us stay online! 💯
Thank you in advance! ❤️
01 | Input
02 | Output
03 | Quantity
04 | Data Organization
05 | Flow

Filepath Series

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.   Site co-created by Andrew Heumann.   Pancake and associated data © 2024 Keyu Gan.  
Rhinoceros and Grasshopper are registered trademarks of Robert McNeel & Associates.  Hosted by GitHub

Report an Issue  |  Terms of Service