API Reference

Detailed and full API reference helps you master Tekla development

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

Meta.Microsoft.Help.Id
M:Tekla.Structures.Dialog.UIControls.EnvironmentFiles.GetAttributeFile(System.String)

EnvironmentFilesGetAttributeFile Method (String)

Gets a file info representing the first match in the standard property file directories.

Namespace:  Tekla.Structures.Dialog.UIControls
Assembly:  Tekla.Structures.Dialog (in Tekla.Structures.Dialog.dll) Version: 2020.0.0.0 (2020.0.55582.0)
Syntax
public static FileInfo GetAttributeFile(
	string fileName
)

Parameters

fileName
Type: SystemString
The name of the file including the file extension.

Return Value

Type: FileInfo
A file info for the first match in the directory list. Null if no match was found.
See Also