public PartSaveStatus SaveAs(string pathName) { PartSaveStatus status = this.NXOpenPart.SaveAs(pathName); if (status.NumberUnsavedParts != 0) { NXException.Create(status.GetStatus(0)); } status.Dispose(); return(status); }
public PartSaveStatus Save() { PartSaveStatus status = this.NXOpenPart.Save(BasePart.SaveComponents.True, BasePart.CloseAfterSave.False); if (status.NumberUnsavedParts != 0) { NXException.Create(status.GetStatus(0)); } status.Dispose(); return(status); }