Skip to content

ProjectRepository

The **Project Repository** is the interface between your project data and the SIMBA file\_\*\.jsimba\_. The **Project Repository** allows you to:

* Open or create a SIMBA project file * Get the designs saved in a project file * Save changes

Constructors
ProjectRepositorystring Open an existing repository if the file already exists or create one if the file doesn't exist.
Properties
ProjectDirectory Return the path of the project directory
Methods
AddDesignDesign, bool Add a design the project
AddLibraryLibrary Add a library to the project
AddResultsTransientAnalysisJob Add Simulation results to the project
AddTestBenchTestBench Add Test bench to the project
AddThermalDataThermalData Add Thermal Data to the project
FilePath() Return the path of the repository project file
GetACSweepByNamestring Find and return the first AC Sweep test bench with a given name
GetDesignByNamestring Find and return the first design with a given name
GetDesigns() Return a List of all the designs saved in the repository
GetLibraries() Return a list of all the libraries saved in the repository
GetTestBenches() Return a list of all the test benches saved in the repository
GetThermalData() Return a list of all the thermal data saved in the repository
IsTemporary() Return true if the file is temporary File Attribute on Windows
RemoveDesignDesign Remove design
RemoveLibraryLibrary Remove library
RemoveResultTransientAnalysisJob Remove result
RemoveTestBenchTestBench Remove test bench
RemoveThermalDataThermalData Remove thermal data
Save() Save the repository in the current project file
SaveAsstring Save the repository in the given project file
UnsavedChanges() Return True if the repository has changes that are not savec in the project file