NXOpen.UF.So.AskChildren

So.AskChildren()

Refer to UF_SO_ask_children for documentation.

Signature: AskChildren(objectArg, options)

Parameters:
  • objectArg (Tag) – Tag of object on which to inquire smart object children.
  • options (int) – What kind of children (bit mask) UF_SO_ASK_SO_CHILDREN - Ask referencing smart objects. UF_SO_ASK_CHILDREN_RECURSIVELY - Ask referencing objects recursively. UF_SO_ASK_FEATURE_CHILDREN - Ask referencing features. UF_SO_ASK_ALL_CHILDREN - Ask all referencing features.
Returns:

A Tuple

Return type:

A tuple consisting of (nChildren,children)

nChildren(int): number of childen

children(list of Tag): Smart object children of object. This array must be freed by calling UF_free.

License requirements: None