go_to_optislang#
- ansys.optislang.parametric.design_study_templates.go_to_optislang(project_path: str | Path, connector_type: nt.NodeType, omdb_files: str | Path | List[str | Path] | ParametricDesignStudyManager, parameters: Iterable[Parameter] | None = None, responses: Iterable[Response] | None = None, connector_settings: GeneralNodeSettings | None = None, **kwargs) Optislang#
Generate a new optiSLang project with a parametric system and launch in GUI mode.
- Parameters:
- project_path: Union[str,Path]
Path to save the generated optiSLang project file.
- connector_type
str The type of connector actor.
- omdb_files
Union[Union[str,Path],List[Union[str,Path]],BaseSolverManager] OMDB files to include in the project. Can be a path to a folder, a list of paths, or an instance of
BaseSolverManager.- parameters: Optional[Iterable[Parameter]], optional
Parameters to be included in the parametric system, by default None.
- response: Optional[Iterable[Response]], optional
Responses to be included in the parametric system, by default None.
- connector_settings
Optional[GeneralNodeSettings],optional Settings for the connector actor, by default None.
- **kwargs
Additional keyword arguments, used to initialize the optislang instance. project_path and batch kwargs are ignored.
- Returns:
PathThe path to the generated optiSLang project file.