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.

HierarchicDefinition Constructor (Identifier)

Instantiates a hierarchical definition with a known identifier. The instantiation has to be done before the hierarchical definition instance can be selected.

Namespace:  Tekla.Structures.Model
Assembly:  Tekla.Structures.Model (in Tekla.Structures.Model.dll) Version: 2019.0.0.0 (2019.0.0.0)
Syntax
public HierarchicDefinition(
	Identifier ID
)

Parameters

ID
Type: Tekla.StructuresIdentifier
The identifier of an existing hierarchical definition.
Examples
using Tekla.Structures.Model;
using Tekla.Structures;

public class Example
{
       public void Example1()
       {
           Identifier id = new Identifier(357);

           HierarchicDefinition hierarchicalDefinition = new HierarchicDefinition(id);
       }
}
See Also