getC3dFiles#

pyCGM2.Utils.files.getC3dFiles(path: str, text: str = '', ignore: bool | None = None)#

Retrieve all C3D files from a directory, optionally filtering by text within filenames.

Parameters:
  • path (str) – The directory path to search for C3D files.

  • text (str, optional) – Text to filter filenames by. Defaults to “”.

  • ignore (bool, optional) – If specified, ignores files with certain criteria. Defaults to None.

Returns:

List[str] – A list of C3D filenames.