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: 2018.1.0.0 (2018.1.0.0)
Syntax
public static bool ObjectMatchesToFilter(
	ModelObject ModelObject,
	string FilterName
)

Parameters

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

Return Value

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