Meta.Microsoft.Help.Id
M:Tekla.Structures.Model.Operations.Operation.ObjectMatchesToFilter(Tekla.Structures.Model.ModelObject,System.String)

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: 2020.0.0.0 (2020.0.55582.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