NXOpen.UF.Modl.AskEntityParents

Modl.AskEntityParents()

Refer to UF_MODL_ask_entity_parents for documentation.

Signature: AskEntityParents(numEntities, entities)

Parameters:
  • numEntities (int) –
    • number of entries in following array
  • entities (Tag) –
    • array of entities to transform
Returns:

A Tuple

Return type:

A tuple consisting of (foundParent,numParentEntities,parentEntities)

foundParent(bool): - if found_parent = false, found no parents if found_parent = true, found parents

numParentEntities(int): - if found_parent = true, the number of parent entities will be output

parentEntities(Tag): - if found_parent = true, the parent entities will be output call UF_free to free parent_entities only if found_parent = true

License requirements: None