Tekla Open API

Detailed and full API reference helps you master Tekla Open API

This is the most recent version of Tekla Open API.
For older versions, please visit Tekla Warehouse.

TeklaStructuresFilesGetMultiDirectoryFileList Method

Gets a list of files with the given extension from the default search directories.

Namespace:  Tekla.Structures
Assembly:  Tekla.Structures (in Tekla.Structures.dll) Version: 2019.0.0.0 (2019.0.0.0)
Syntax
public List<string> GetMultiDirectoryFileList(
	string fileExtension,
	bool fullpath = false
)

Parameters

fileExtension
Type: SystemString
The file extension to be used.
fullpath (Optional)
Type: SystemBoolean
If true, file with full path with extension is returned.

Return Value

Type: ListString
A list of files with the given extension.
See Also