PolymeshValidate Method |
Converts a to a polymesh and validates.
FacetedBrep
Namespace: Tekla.Structures.Model
Assembly: Tekla.Structures.Model (in Tekla.Structures.Model.dll) Version: 2023.0.3
Syntax
public static bool Validate( FacetedBrep brep, PolymeshPolymeshCheckerFlags checkCriteria, ref List<KeyValuePair<int, PolymeshPolymeshHealthCheckEnum>> invalidInfo )
Parameters
- brep
- Type: Tekla.Structures.Geometry3dFacetedBrep
The FacetedBrep to be converted and validated - checkCriteria
- Type: Tekla.Structures.ModelPolymeshPolymeshCheckerFlags
The flags to indicate what to check - invalidInfo
- Type: System.Collections.GenericListKeyValuePairInt32, PolymeshPolymeshHealthCheckEnum
The problematic faces' indices and their failed reasons, (-1, PolymeshUndefined) is for unknown reason for uncertain face. No inner loops checked further if outer loop found error.
Return Value
Type: BooleanTrue if valid, false if error found
See Also