- Version 1.6
- Download 38
- File Size 43.21 KB
- File Count 1
- Create Date September 27, 2019
- Last Updated July 17, 2021
File Paths Parts (12d App)
Compiled 12d Model application to parse a specified file path and extract and display various useful parts and information from that path.
Information extracted:
- File extension
- File name with and without the extension
- Parent directory name and full path
- Path to file as a sub-folder path relative to the current project
I primarily use this panel in chains to take a full file path and get various parts captured in parameters and used in subsequent steps.
NOTE:
Most of the path parsing and extraction functionality is based on the most common usage using Windows path and file names. As such, certain unusual or atypical filenames or paths may not yield the correct results. The 12dPL language does not provide any built-in functions for parsing or converting paths, so all such functionality is currently done using pure text-based routines.
If you come across any such cases, please leave a comment below and I'll try to add support.
Latest posts by Matthew Monk (see all)
- From the archives: drainage.4d for Victoria? - February 6, 2022
- Fit 3pt Arcs (12d App) - January 10, 2022
- Oops! Download links fixed - July 17, 2021