NXOpen.UF.ModlGeneral.AskPromotionPath

ModlGeneral.AskPromotionPath()

Refer to UF_MODL_ask_promotion_path for documentation.

Signature: AskPromotionPath(promSolid, fullPath)

Parameters:
  • promSolid (Tag) – Promoted solid body to be queried
  • fullPath (bool) – If false, the instance path to the next level promotion is returned. If true, the full instance path across promotion stacks is returned.
Returns:

A Tuple

Return type:

A tuple consisting of (instancePath,numInstances)

instancePath(list of Tag): The instance path along which the given solid body was promoted. This is an array of instances, which must be freed by calling UF_free.

numInstances(int): Number of instances

License requirements: None