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.

ModelObjectCompareTo Method

Compares Identifiers of model objects.

Namespace:  Tekla.Structures.Model
Assembly:  Tekla.Structures.Model (in Tekla.Structures.Model.dll) Version: 2019.0.0.0 (2019.0.0.0)
Syntax
public int CompareTo(
	Object obj
)

Parameters

obj
Type: SystemObject
The model object to be used in comparison.

Return Value

Type: Int32
0 if object Identifiers are the same, 1 if given object Identifier is bigger, -1 otherwise.

Implements

IComparableCompareTo(Object)
See Also