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.ProfileConversion.ConvertToCurrentUnits(System.String,System.String@)

ProfileConversionConvertToCurrentUnits Method

Converts a profile string from internal units to current units (set in Units and decimals options).

Namespace:  Tekla.Structures.Dialog
Assembly:  Tekla.Structures.Dialog (in Tekla.Structures.Dialog.dll) Version: 2020.0.0.0 (2020.0.55582.0)
Syntax
public static bool ConvertToCurrentUnits(
	string Profile,
	ref string ConvertedProfile
)

Parameters

Profile
Type: SystemString
The profile string to convert.
ConvertedProfile
Type: SystemString
The converted profile string.

Return Value

Type: Boolean
True if successfully converted the string.
See Also