NXOpen.UF.ProcessAid.AskSourceObject

ProcessAid.AskSourceObject()

Refer to UF_PROCESS_AID_ask_source_object for documentation.

Signature: AskSourceObject(objectArg, isRecurse)

Parameters:
  • objectArg (Tag) – linked/extracted object tag, whose source is to be retrieved
  • isRecurse (bool) – FALSE if required just one level upinformation of the source TRUE if need to search the source recursively
Returns:

A Tuple

Return type:

A tuple consisting of (sourceObject,fileToOpen)

sourceObject(Tag): source object tag retrieved,NULL in case of any error

fileToOpen(str): file name, in case of opening error forthis file. NULL if we were able to get the source_object. This must be freed by calling UF_free.

License requirements: None