Tekla Open API

Detailed and full API reference helps you master Tekla Open API

This is the most recent version of Tekla Open API.
For older versions, please visit Tekla Warehouse.

HierarchicObject Constructor (Identifier)

[This is preliminary documentation and is subject to change.]

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: 2019.0.0.0 (2019.0.0.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