uiGetDir#
- pyCGM2.Tools.uiTools.uiGetDir(title: str = 'Select a Data Folder', start_dir: str = '') str | None#
Open a dialog to select a folder.
- Parameters:
title (str, optional) – Dialog title. Defaults to
"Select a Data Folder".start_dir (str, optional) – Initial folder.
- Returns:
Optional[str] – Selected folder (with backslashes and a trailing backslash), or None if cancelled.