12-05-2018 09:46 AM
Hello Everyone,
What is the correct way to read and loop over the PartSaveStatus Class object? I would like to read the details and report it in a custom log file.
Thanks,
Shanmugam.K
Solved! Go to Solution.
12-05-2018 07:36 PM
Below is a snippet in C#.
static void reportPartSaveStatus(PartSaveStatus status) { if (status.NumberUnsavedParts == 0) return; Echo(" Save Notes:"); for (int ii = 0; ii < status.NumberUnsavedParts; ii++) { NXException ex = NXException.Create(status.GetStatus(ii)); Echo(" " + status.GetPart(ii) + " - " + ex.Message); } }
12-06-2018 09:47 AM