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.

ComponentItemGetVersion Method

Gets the version number of custom component item from the component database.

Namespace:  Tekla.Structures.Catalogs
Assembly:  Tekla.Structures.Catalogs (in Tekla.Structures.Catalogs.dll) Version: 2020.0.0.0 (2020.0.55582.0)
public bool GetVersion(
	ref int version


Type: SystemInt32
The version number of the component item.

Return Value

Type: Boolean
Version number on success, int.MinValue if not found.
See Also