File Paths Parts (12d App)

[featured_image]
Download
Download is available until [expire_date]
  • 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.

Screenshot of File Path Parts app for 12d Model
Screenshot of File Path Parts app for 12d Model

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.

The following two tabs change content below.
Matthew is a Civil Engineer with 20 yrs experience in the industry. He started work as a design consultant involved in numerour road, highway, drainage and land development projects. During that time, he became an integral part of the 12d development group, developing company standards, conventions, and customisations and providing support and training to users in offices around the world. After his design role, Matthew moved to head up the UK office of 12d Solutions, being responsible for the sales, support and training for all 12d Model users throughout Europe, the Middle East and Africa (EMEA). Since returning to Australia in 2015, he has setup his own business providing consulting services to the civil infrastructure industry. As part of this work, he has helped develop innovative and streamlined survey and data management processes on large construction projects, including Northconnex, Westconnex Stage 3A, Melbourne Metro and others.

Latest posts by Matthew Monk (see all)

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.