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: 2023.0.3
Syntax
Parameters
- ModelObject
- Type: Tekla.Structures.ModelModelObject
The model object to check. - FilterName
- Type: SystemString
The filter file to check against.
Return Value
Type: BooleanTrue if the object matches to the given filter criteria.
Exceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when the ModelObject is not valid. |
See Also