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.

ModelObjectSelectorGetFilteredObjectsWithType Method

Returns an enumerator of the model objects in the current model with the given type and selected by the filter.

Namespace:  Tekla.Structures.Model
Assembly:  Tekla.Structures.Model (in Tekla.Structures.Model.dll) Version: 2019.0.0.0 (2019.0.0.0)
Syntax
public ModelObjectEnumerator GetFilteredObjectsWithType(
	ModelObjectModelObjectEnum Enum,
	string FilterName
)

Parameters

Enum
Type: Tekla.Structures.ModelModelObjectModelObjectEnum
The type of the objects to return.
FilterName
Type: SystemString
The name of an existing selection filter to apply.

Return Value

Type: ModelObjectEnumerator
A model object enumerator of the model objects with the given type and selected by the filter.
See Also