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.AddToObjectType(Tekla.Structures.Catalogs.CatalogObjectTypeEnum)

UserPropertyItemAddToObjectType Method

Adds the user property item to the given object type.

Namespace:  Tekla.Structures.Catalogs
Assembly:  Tekla.Structures.Catalogs (in Tekla.Structures.Catalogs.dll) Version: 2019.1.0.0 (2019.1.0.0)
Syntax
public bool AddToObjectType(
	CatalogObjectTypeEnum objectType
)

Parameters

objectType
Type: Tekla.Structures.CatalogsCatalogObjectTypeEnum
The object type to add the item to.

Return Value

Type: Boolean
True on success.
See Also