build_simulation_project#

Edb.build_simulation_project(simulation_setup: SimulationConfiguration) bool[source]#

Build a ready-to-solve simulation project.

Parameters:
simulation_setuppyedb.dotnet.edb_core.edb_data.simulation_configuration.SimulationConfiguration.

SimulationConfiguration object that can be instantiated or directly loaded with a configuration file.

Returns:
bool

True when successful, False when Failed.

Examples

>>> from pyedb import Edb
>>> from pyedb.dotnet.edb_core.edb_data.simulation_configuration import SimulationConfiguration
>>> config_file = path_configuration_file
>>> source_file = path_to_edb_folder
>>> edb = Edb(source_file)
>>> sim_setup = SimulationConfiguration(config_file)
>>> edb.build_simulation_project(sim_setup)
>>> edb.save_edb()
>>> edb.close_edb()