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.

OperationObjectMatchesToFilter Method (ModelObject, String)

Checks whether the object matches to the criteria in the given filter.

Namespace:  Tekla.Structures.Model.Operations
Assembly:  Tekla.Structures.Model (in Tekla.Structures.Model.dll) Version: 2019.0.0.0 (2019.0.0.0)
public static bool ObjectMatchesToFilter(
	ModelObject ModelObject,
	string FilterName


Type: Tekla.Structures.ModelModelObject
The model object to check.
Type: SystemString
The filter file to check against.

Return Value

Type: Boolean
True if the object matches to the given filter criteria.
Exception Condition
ArgumentException Thrown when the ModelObject is not valid.
See Also