Merge pull request #5246 from OPM/feature-external-file-reference-list-in-project-file

Feature: #5147 External file reference list in project file
This commit is contained in:
Jacob Støren
2019-12-18 15:47:50 +01:00
committed by GitHub
40 changed files with 499 additions and 210 deletions

View File

@@ -36,6 +36,14 @@ class Project(PdmObject):
"""
self._execute_command(openProject=Cmd.FilePathRequest(path=path))
return self
def save(self, path=""):
"""Save the project to the existing project file, or to a new file
Arguments:
path(str): File path to the file to save the project to. If empty, saves to the active project file
"""
self._execute_command(saveProject=Cmd.SaveProjectRequest(filePath=path))
return self
def close(self):
"""Close the current project (and open new blank project)"""