PolymeshValidate Method |
Converts a to a polymesh and validates.
FacetedBrep
Namespace: Tekla.Structures.Model
Assembly: Tekla.Structures.Model (in Tekla.Structures.Model.dll) Version: 2025.0.0-alpha00045580+dc02c3918546f1e94eb2d3b13ea99057fb3313e0
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