Example #1
0
        public PartSaveStatus SaveAs(string pathName)
        {
            PartSaveStatus status = this.NXOpenPart.SaveAs(pathName);

            if (status.NumberUnsavedParts != 0)
            {
                NXException.Create(status.GetStatus(0));
            }
            status.Dispose();
            return(status);
        }
Example #2
0
        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);
        }