NXOpen.UF.Part.AskNthHistory

Part.AskNthHistory()

Refer to UF_PART_ask_nth_history for documentation.

Signature: AskNthHistory(historyList, index)

Parameters:
  • historyList (PointerWrapper for UF_PART_history_list_s) – Address of a history list object which contains the save information for a part (obtained by UF_PART_ask_part_history).
  • index (int) – Index (starting at zero) of the particular part save for which information is requested.
Returns:

A Tuple

Return type:

A tuple consisting of (program,user,machine,version,gmtime)

program(str): Address of a pointer to a character (char *) variable into which is stored the address of the name of the program which saved this version of the part.

user(str): Address of a pointer to a character (char *) variable into which is stored the address of the name of the user who saved this version of the part.

machine(str): Address of a pointer to a character (char *) variable into which is stored the address of the name of the machine type on which this version of the part was saved.

version(int): Address of an int variable into which is stored the version number associated with this version of the part.

gmtime(int): Address of an int variable into which is stored the time associated with the requested “save” of the part. This value is the number of seconds since January 1, 1970 12:00 AM GMT. See the routines in the standard UNIX time.h include file for routines to manipulate and display time values.

License requirements: None