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.Model.HierarchicObject.#ctor(Tekla.Structures.Identifier)

HierarchicObject Constructor (Identifier)

Instantiates a hierarchical object 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: 2020.0.0.0 (2020.0.55582.0)
Syntax
public HierarchicObject(
	Identifier ID
)

Parameters

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

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

           HierarchicObject hierarchicalObject = new HierarchicObject(id);
       }
}
See Also