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: 2023.0.1
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
Was this helpful?
The feedback you give here is not visible to other users. We use your comments to improve the content.