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.Catalogs.UserPropertyItem.GetOptions(System.Collections.Generic.List{System.Collections.Generic.KeyValuePair{System.Double,System.String}}@,System.Boolean)

UserPropertyItemGetOptions Method (ListKeyValuePairDouble, String, Boolean)

Gets the value options of a double property.

Namespace:  Tekla.Structures.Catalogs
Assembly:  Tekla.Structures.Catalogs (in Tekla.Structures.Catalogs.dll) Version: 2020.0.0.0 (2020.0.55582.0)
Syntax
public bool GetOptions(
	ref List<KeyValuePair<double, string>> DoubleOptions,
	bool translatedLabels
)

Parameters

DoubleOptions
Type: System.Collections.GenericListKeyValuePairDouble, String
The value options that were gotten.
translatedLabels
Type: SystemBoolean
if set to true labels translated to current language are returned, otherwise the resource key of label is returned.

Return Value

Type: Boolean
True on success.
See Also