NXOpen.UF.Modeling.CompareTopology

Modeling.CompareTopology()

Refer to UF_MODL_compare_topology for documentation.

Signature: CompareTopology(solidObject1, solidObject2, facetTolerance, distanceTolerance)

Parameters:
  • solidObject1 (Tag) – Object identifier of first object (valid objects are faces and edges)
  • solidObject2 (Tag) – Object identifier of second object (valid objects are faces and edges)
  • facetTolerance (float) – Specifies the maximum distance any point on a facet can be from its parent surface. All vertices of facets are on the surface.
  • distanceTolerance (float) – Specifies the maximum distance a vertex of a facet can be from the other surface.
Returns:

Status value: COMPARE_NOMATCH COMPARE_FACES_IDENTICAL COMPARE_FACES_EQUIVALENT COMPARE_SURFACES_IDENTICAL COMPARE_SURFACES_EQUIVALENT COMPARE_EDGES_IDENTICAL COMPARE_EDGES_EQUIVALENT COMPARE_CURVES_IDENTICAL COMPARE_CURVES_EQUIVALENT Descriptions for these values are given in a table which follows in the general function description.

Return type:

int

License requirements: SOLIDS MODELING