NXOpen.UF.Facet.AskVerticesOfFacet

Facet.AskVerticesOfFacet()

Refer to UF_FACET_ask_vertices_of_facet for documentation.

Signature: AskVerticesOfFacet(model, facetId)

Parameters:
  • model (Tag) – The model
  • facetId (int) – The id of the facet.
Returns:

A Tuple

Return type:

A tuple consisting of (numVertices,vertices)

numVertices(int): The number of vertices in the facet.

vertices(list of float): The vertices for this facet. Each element of three double in this argument represents a 3-space (X, Y, Z) position. Note that this is passed by the caller, not allocated by the routine, and the caller is responsible for ensuring that this array is sufficiently long, which can be done by previously calling UF_FACET_ask_num_verts_in_facet or by calling UF_FACET_ask_max_facet_verts.

License requirements: None