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

Meta.Microsoft.Help.Id
M:Tekla.Structures.Drawing.ViewBase.GetAllObjects(System.Type)

ViewBaseGetAllObjects Method (Type)

Gets all the objects and their children objects in the view that are of a certain type.

Namespace:  Tekla.Structures.Drawing
Assembly:  Tekla.Structures.Drawing (in Tekla.Structures.Drawing.dll) Version: 2019.1.0.0 (2019.1.0.0)
Syntax
public DrawingObjectEnumerator GetAllObjects(
	Type Type
)

Parameters

Type
Type: SystemType
The type of the objects to get.

Return Value

Type: DrawingObjectEnumerator
All the objects in the view that are of a certain type.
See Also