NXOpen.UF.Sf.LocateNodeById

Sf.LocateNodeById()

Refer to UF_SF_locate_node_by_id for documentation.

Signature: LocateNodeById(meshTag, numOfIds, nodeIds)

Parameters:
  • meshTag (Tag) – Mesh tag, pass in NULL_TAG to locate all nodes in current part.
  • numOfIds (int) – The number of node ids to look for.
  • nodeIds (list of int) – An array of node ids for which element tags are to be returned.
Returns:

A Tuple

Return type:

A tuple consisting of (numOfNode,nodeTagsP)

numOfNode(int): The number of nodes found. Could be zero.

nodeTagsP(list of Tag): pointer to an array of node tags or NULL. This must be freed by calling UF_free.

License requirements: None