struct.typeid

Syntax

i := struct.typeid()

Get an identifier that uniquely determines the type of object. This function will return ‭1283545601‬, indicating a general structural element.

For specific structural elements types, the typeid value is given in the following table:

Table 1: Structural Element TypeID Numbers
Element Type TypeID Number
beam ‭1283545608‬
cable ‭1376516851‬
pile ‭1283545868‬
shell ‭1283545603‬
geogrid ‭1283545605‬
liner ‭1283545607‬

This can be used with the type.pointer.id intrinsic to identify the object type a pointer refers to.

Returns:i - an identifier that determines the type of object