validate_element

compas_ifc.validation.validate_element(element, specifications)

Validate a single element against a list of specifications.

Parameters:
elementGenericElement

The element to validate.

specificationslist[Specification]

Specifications to check.

Returns:
list[ValidationResult]

One result per applicable specification (specs that don’t match the element’s IFC type are skipped).