def _make_current_project(project): """Set current project and return the previous current project.""" current_project = reapy.Project() RPR.SelectProjectInstance(project.id) return current_project
def make_current_project(self): """ Set project as current project. """ RPR.SelectProjectInstance(self.id)
def __init__(self, project): self.current_project = reapy.Project() RPR.SelectProjectInstance(project.id)