ValidEntityFilter() method
- Last UpdatedNov 26, 2024
- 1 minute read
Use the ValidEntityFilter() method to validate the entity specified against the EntityFilterRestriction parameter to determine if it is within the restriction type. If the entity is not within the Entity Filter restriction or cannot collect quality data, an error message appears and the method returns False. If the entity is within the Entity Filter restriction, it returns True.
Syntax
bool ValidEntityFilter(int entId, EntityFilterRestrictionType entityFilterRestriction);
Parameters
entId
An integer value that indicates the ID of the entity to be validated.
entityFilterRestriction
An enumeration value that indicates the filter restriction to be validated against.