> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# py_os_design

Functionality to handle individual designs and DOEs. These can either emerge from Actor calculation results or be manually constructed.:

```python theme={null}
import os
import numpy as np
import py_os_design as pod
from py_os_parameter import PyParameterManager
from py_omdb import PyOMDB


def f(x):
    s = np.sum(x)
    if s >= 0:
        return np.sqrt(s)
    else:
        return np.nan

# constants
dim = 4  # problem dimension
N = 12  # number of designs
start_design = 23   # design numbers to start with this number
param_names = ['x' + str(i) for i in range(dim)]
lower_bounds = np.array(dim * [-2.0], dtype=float)
upper_bounds = np.array(dim * [5.0], dtype=float)

# creating new design points
design_container = pod.PyOSDesignContainer()  # creating an empty new design container

for j in range(N):

    # creating an empty new design
    design = pod.PyOSDesign()  # creating a new design
    params = pod.PyOSDesignPoint()  # object for storing parameters for the new design
    resps = pod.PyOSDesignPoint()  # object for storing responses for the new design
    design_number = startdesign + j
    design.set_number(design_number) # new chosen design number
    design.set_run_status(pod.AWAITING)

    # setting input parameters
    x = lower_bounds + np.random.rand(dim) * (upper_bounds - lower_bounds)
    for i in range(dim):
        params.add(param_names[i], x[i])

    design.set_parameters(params)

    # setting response values
    y = f(x)
    resps.add('y', f(x))
    design.set_responses(resps)

    msg = 'iter {}: new design has parameters = {}'.format(j, x)
    msg += '    and responses = {}'.format(y)
    print(msg)

    # setting additional flags and infos
    if np.isnan(y):
        design.add_status(pod.RunInfoMeta(pod.SOLVER_FAIL))
    else:
        design.add_status(pod.RunInfoMeta(pod.NO_FAIL))

    design.set_run_status(pod.DONE)

    # add the design to the design container
    design_container.push_back(design)

# creating the parameter manager
pm = PyParameterManager()
for i, pname in enumerate(param_names):
    pm.add_deterministic_continuous_parameter(pname,
                                              lower_bounds[i],
                                              upper_bounds[i],
                                              0.5 * (lower_bounds[i] + upper_bounds[i]),
                                              0)

# store the design and parameter manager information in an .omdb file
db_file = PyOMDB()
db_file.design_container = design_container
db_file.parameter_manager = pm
db_file.check_consistency()
db_file.save_to_file(os.path.join(OSL_PROJECT_DIR, 'my_design_data.omdb')
```

## *class* py\_os\_design.DesignExporterCSV

#### \_\_init\_\_()

## *class* py\_os\_design.DesignExporterGeneric

#### \_\_call\_\_(path: [PyOSDesign](#py_os_design.PyOSDesign), logger: [Path](https://developer.synopsys.com/docs/optislang/optislang-python-api/2026-r1/modules/stdcpp_python_export.md#stdcpp_python_export.Path)) → bool

#### \_\_call\_\_(path: [PyOSDesignContainer](#py_os_design.PyOSDesignContainer), logger: [Path](https://developer.synopsys.com/docs/optislang/optislang-python-api/2026-r1/modules/stdcpp_python_export.md#stdcpp_python_export.Path)) → bool

#### \_\_init\_\_()

Raises an exception
This class cannot be instantiated from Python

## *class* py\_os\_design.DesignExporterJson

#### \_\_init\_\_()

## *class* py\_os\_design.DesignExporterOIA

#### \_\_init\_\_()

## *class* py\_os\_design.DesignImporterCSV

#### \_\_init\_\_()

## *class* py\_os\_design.DesignImporterGeneric

#### \_\_call\_\_(inputs: [PyOSDesign](#py_os_design.PyOSDesign), criteria: [PyOSDesignPoint](#py_os_design.PyOSDesignPoint), path: [PyOSCriterionContainer](https://developer.synopsys.com/docs/optislang/optislang-python-api/2026-r1/modules/py_os_criterion.md#py_os_criterion.PyOSCriterionContainer), logger: [Path](https://developer.synopsys.com/docs/optislang/optislang-python-api/2026-r1/modules/stdcpp_python_export.md#stdcpp_python_export.Path)) → bool

#### \_\_call\_\_(inputs: [PyOSDesignContainer](#py_os_design.PyOSDesignContainer), criteria: [PyOSDesignPoint](#py_os_design.PyOSDesignPoint), path: [PyOSCriterionContainer](https://developer.synopsys.com/docs/optislang/optislang-python-api/2026-r1/modules/py_os_criterion.md#py_os_criterion.PyOSCriterionContainer), logger: [Path](https://developer.synopsys.com/docs/optislang/optislang-python-api/2026-r1/modules/stdcpp_python_export.md#stdcpp_python_export.Path)) → bool

#### \_\_init\_\_()

Raises an exception
This class cannot be instantiated from Python

## *class* py\_os\_design.DesignImporterJson

#### \_\_init\_\_()

## *class* py\_os\_design.DesignImporterOIA

#### \_\_init\_\_()

## *class* py\_os\_design.DesignRunStatus

**Enumeration**

#### AWAITING *= py\_os\_design.DesignRunStatus.AWAITING*

#### DONE *= py\_os\_design.DesignRunStatus.DONE*

#### INPROCESS *= py\_os\_design.DesignRunStatus.INPROCESS*

## *class* py\_os\_design.DesignStatus

**Enumeration**

#### CRITERIA\_FAIL *= py\_os\_design.DesignStatus.CRITERIA\_FAIL*

#### NO\_FAIL *= py\_os\_design.DesignStatus.NO\_FAIL*

#### NO\_SOLVER\_FAIL *= py\_os\_design.DesignStatus.NO\_SOLVER\_FAIL*

#### RESPONSE\_NAN *= py\_os\_design.DesignStatus.RESPONSE\_NAN*

#### SOLVER\_FAIL *= py\_os\_design.DesignStatus.SOLVER\_FAIL*

## *class* py\_os\_design.EntryType

**Enumeration**

#### BOOL *= py\_os\_design.EntryType.BOOL*

#### INTEGER *= py\_os\_design.EntryType.INTEGER*

#### REAL *= py\_os\_design.EntryType.REAL*

#### STRING *= py\_os\_design.EntryType.STRING*

#### UNINITIALIZED *= py\_os\_design.EntryType.UNINITIALIZED*

#### VARIANT *= py\_os\_design.EntryType.VARIANT*

## *class* py\_os\_design.PyOSDesign

Represents a single design in a DOE. Usually consists of parameters, responses, criteria and additional status information.

#### IsDuplicated() → bool

#### \_\_init\_\_()

#### add\_missing\_criteria(reference: [PyOSDesign](#py_os_design.PyOSDesign))

Add criteria from reference that are not defined in self.

#### add\_missing\_parameters(reference: [PyOSDesign](#py_os_design.PyOSDesign))

Add parameters from reference that are not defined in self.

#### add\_missing\_responses(reference: [PyOSDesign](#py_os_design.PyOSDesign))

Add responses from reference that are not defined in self.

#### add\_status(status: [RunInfoMeta](#py_os_design.RunInfoMeta))

#### dominates(design: [PyOSDesign](#py_os_design.PyOSDesign)) → bool

Whether the provided design dominates this design regarding fulfilment of criteria.

#### get\_algorithm\_iteration() → int

#### get\_criteria() → [PyOSCriterionContainer](https://developer.synopsys.com/docs/optislang/optislang-python-api/2026-r1/modules/py_os_criterion.md#py_os_criterion.PyOSCriterionContainer)

#### get\_design\_leaf\_number() → int

Return the leaf number of the design’s ID.

#### get\_design\_type() → [DesignTypes](https://developer.synopsys.com/docs/optislang/optislang-python-api/2026-r1/modules/dynardo_py_algorithms.md#dynardo_py_algorithms.DesignTypes)

#### get\_id() → [HID](https://developer.synopsys.com/docs/optislang/optislang-python-api/2026-r1/modules/id.md#id.HID)

#### get\_parameters() → [PyOSDesignPoint](#py_os_design.PyOSDesignPoint)

```python theme={null}
for name, value in design.get_parameters():
    print(name, value.get())
```

#### get\_responses() → [PyOSDesignPoint](#py_os_design.PyOSDesignPoint)

```python theme={null}
for name, value in design.get_responses():
    print(name, value.get_scalar())
```

#### get\_run\_status() → [DesignRunStatus](#py_os_design.DesignRunStatus)

#### get\_status() → [RunInfoContainer](#py_os_design.RunInfoContainer)

#### get\_workflow\_id() → [SupportedAlgorithms](https://developer.synopsys.com/docs/optislang/optislang-python-api/2026-r1/modules/dynardo_py_algorithms.md#dynardo_py_algorithms.SupportedAlgorithms)

#### has\_error\_state() → bool

#### is\_active() → bool

#### is\_awaiting() → bool

#### is\_done() → bool

#### is\_failed() → bool

#### is\_feasible() → object

Return True if the design is feasible. Return False if it is not. Return None if feasibility is unknown.

#### is\_incomplete() → bool

#### is\_succeeded() → bool

#### is\_violated() → bool

#### needs\_reevaluation() → bool

#### set\_awaiting()

#### set\_criteria(criteria: [PyOSCriterionContainer](https://developer.synopsys.com/docs/optislang/optislang-python-api/2026-r1/modules/py_os_criterion.md#py_os_criterion.PyOSCriterionContainer))

#### set\_design\_type(type: [DesignTypes](https://developer.synopsys.com/docs/optislang/optislang-python-api/2026-r1/modules/dynardo_py_algorithms.md#dynardo_py_algorithms.DesignTypes))

#### set\_duplication(id: [HID](https://developer.synopsys.com/docs/optislang/optislang-python-api/2026-r1/modules/id.md#id.HID))

Specifiy a duplicate of this design.

#### set\_id(id: [HID](https://developer.synopsys.com/docs/optislang/optislang-python-api/2026-r1/modules/id.md#id.HID))

#### set\_number(number: int)

#### set\_parameters(parameters: [PyOSDesignPoint](#py_os_design.PyOSDesignPoint))

```python theme={null}
design = PyOSDesign()
params = PyOSDesignPoint()
params.add("input", 5)
design.set_parameters(params)
```

#### set\_responses(responses: [PyOSDesignPoint](#py_os_design.PyOSDesignPoint))

```python theme={null}
design = PyOSDesign()
responses = PyOSDesignPoint()
responses.add("output", 200)
design.set_responses(responses)
```

#### set\_run\_status(status: [DesignRunStatus](#py_os_design.DesignRunStatus))

#### set\_workflow\_id(id: [SupportedAlgorithms](https://developer.synopsys.com/docs/optislang/optislang-python-api/2026-r1/modules/dynardo_py_algorithms.md#dynardo_py_algorithms.SupportedAlgorithms))

## *class* py\_os\_design.PyOSDesignContainer

Provides access to designs within a DOE

```python theme={null}
for des in design_container:
    print(des.is_succeeded())
```

#### \_\_init\_\_()

#### \_\_iter\_\_() → object

#### \_\_len\_\_() → int

#### append\_designs(designs: [PyOSDesignContainer](#py_os_design.PyOSDesignContainer))

#### get\_best\_designs() → [PyOSDesignContainer](#py_os_design.PyOSDesignContainer)

#### get\_design(id: HID) → [PyOSDesign](#py_os_design.PyOSDesign)

#### has\_design(id: HID) → bool

#### push\_back(design: [PyOSDesign](#py_os_design.PyOSDesign))

#### rename\_parameter(from: str, to: str, adapt\_criteria: bool)

#### rename\_response(from: str, to: str, adapt\_criteria: bool)

#### set\_design\_awaiting(id: [HID](https://developer.synopsys.com/docs/optislang/optislang-python-api/2026-r1/modules/id.md#id.HID))

#### set\_designs\_done(, force: bool=False])

## *class* py\_os\_design.PyOSDesignEntry

Wraps a single entry as part of a design.

```python theme={null}
entry = PyOSDesignEntry(3.5)
entry.get_scalar().real
```

#### \_\_init\_\_()

#### \_\_init\_\_(arg2: object) → object

#### \_\_init\_\_(arg2: [UninitializedType](#py_os_design.UninitializedType))

#### \_\_init\_\_(arg2: [VariantD](https://developer.synopsys.com/docs/optislang/optislang-python-api/2026-r1/modules/pyvariant.md#pyvariant.VariantD))

\[1] Create a design entry by passing a builtin Python type. Accepted types are str, int, bool and float.

#### get() → object

Extract as Python bultin type.

#### get\_domain\_type() → [EntryType](#py_os_design.EntryType)

Get the entry’s domain type.

#### get\_scalar() → complex

Try to extract as scalar.

#### get\_variant() → [VariantD](https://developer.synopsys.com/docs/optislang/optislang-python-api/2026-r1/modules/pyvariant.md#pyvariant.VariantD)

Try to extract as variant.

#### is\_inf() → bool

Whether the value is infinity.

#### is\_nan() → bool

Whether the value is NaN.

#### is\_scalar() → bool

Whether entry is scalar.

#### is\_uninitialized() → bool

Whether the entry is not initialized with a value.

#### size() → int

Get the entry’s size in case it is non-scalar.

## *class* py\_os\_design.PyOSDesignEntryVec

Array of design entries.

#### \_\_contains\_\_(arg2: object) → bool

#### \_\_delitem\_\_(arg2: object)

#### \_\_getitem\_\_(arg2: object) → object

#### \_\_init\_\_()

#### \_\_iter\_\_() → object

#### \_\_len\_\_() → int

#### \_\_setitem\_\_(arg2: object, arg3: object)

#### append(arg2: object)

#### extend(arg2: object)

#### push\_back(arg2: [PyOSDesignEntry](#py_os_design.PyOSDesignEntry))

#### size() → int

## *class* py\_os\_design.PyOSDesignPoint

Collection of design entries keyed by name.

```python theme={null}
dp = PyOSDesignPoint()
dp.add("param_01", 3.5)
dp.add("param_02", PyOSDesignEntry(4.5))
```

#### \_\_getitem\_\_(arg2: str) → [PyOSDesignEntry](#py_os_design.PyOSDesignEntry)

#### \_\_init\_\_()

#### \_\_iter\_\_() → object

#### \_\_len\_\_() → int

#### \_\_setitem\_\_(arg2: str) → [PyOSDesignEntry](#py_os_design.PyOSDesignEntry)

#### add(name: str, value: object)

#### add(name: str, value: [VariantD](https://developer.synopsys.com/docs/optislang/optislang-python-api/2026-r1/modules/pyvariant.md#pyvariant.VariantD))

#### add(name: str, value: [PyOSDesignEntry](#py_os_design.PyOSDesignEntry))

\[0] Extend design point using a Python builtin type. Accepted types are str, int, bool and float.

\[1] Extend design point using an optiSLang variant.

\[2] Extend design point using a design entry.

## *class* py\_os\_design.PyOSDesignPointContainer

Array of design points.

#### \_\_init\_\_()

#### \_\_iter\_\_() → object

#### \_\_len\_\_() → int

#### push\_back(arg2: [PyOSDesignPoint](#py_os_design.PyOSDesignPoint))

## py\_os\_design.PyParameters

alias of [`PyOSDesignPoint`](#py_os_design.PyOSDesignPoint)

## py\_os\_design.PyResponses

alias of [`PyOSDesignPoint`](#py_os_design.PyOSDesignPoint)

## *class* py\_os\_design.RunInfoContainer

#### \_\_init\_\_()

#### \_\_iter\_\_() → object

#### \_\_len\_\_() → int

#### add\_run\_info(arg2: [RunInfoMeta](#py_os_design.RunInfoMeta))

#### succeeded() → bool

## *class* py\_os\_design.RunInfoMeta

#### \_\_init\_\_(arg2: [DesignStatus](#py_os_design.DesignStatus))

## *class* py\_os\_design.TextImportAdditionalDimension

Additional dimension item.

#### \_\_init\_\_()

#### \_\_init\_\_()

#### *property* expression

Expression for the additional dimension.

#### *property* name

Name of the dimension to be added.

## *class* py\_os\_design.TextImportAdditionalDimensionVector

#### \_\_contains\_\_(arg2: object) → bool

#### \_\_delitem\_\_(arg2: object)

#### \_\_getitem\_\_(arg2: object) → object

#### \_\_init\_\_()

#### \_\_iter\_\_() → object

#### \_\_iter\_\_() → object

#### \_\_len\_\_() → int

#### \_\_setitem\_\_(arg2: object, arg3: object)

#### append(arg2: object)

#### extend(arg2: object)

#### push\_back(arg2: [TextImportAdditionalDimension](#py_os_design.TextImportAdditionalDimension))

#### size() → int

## *class* py\_os\_design.TextImportDataType

**Enumeration**

#### AutoDetect *= py\_os\_design.TextImportDataType.AutoDetect*

#### Bool *= py\_os\_design.TextImportDataType.Bool*

#### Integer *= py\_os\_design.TextImportDataType.Integer*

#### Real *= py\_os\_design.TextImportDataType.Real*

#### String *= py\_os\_design.TextImportDataType.String*

## *class* py\_os\_design.TextImportDesignFilterType

**Enumeration**

#### DontImport *= py\_os\_design.TextImportDesignFilterType.DontImport*

#### ImportAsActivated *= py\_os\_design.TextImportDesignFilterType.ImportAsActivated*

#### ImportAsDeactivated *= py\_os\_design.TextImportDesignFilterType.ImportAsDeactivated*

## *class* py\_os\_design.TextImportDimensionSettings

Dimension settings item.

#### \_\_init\_\_()

#### \_\_init\_\_()

#### *property* alias

Alternative name of the dimension.

#### *property* data\_index

Index where the dimension is located in data set (header line).

#### *property* data\_type

Data type: either AutoDetect (wathever data fits best), String, Bool, Integer or Real.

#### *property* dimension\_type

Dimension type: either Parameter, Response, DesignId or DontImport.

#### *property* name

Name of the dimension.

#### *property* vector\_size

Vector size, when this is a vector response.

## *class* py\_os\_design.TextImportDimensionSettingsVector

#### \_\_contains\_\_(arg2: object) → bool

#### \_\_delitem\_\_(arg2: object)

#### \_\_getitem\_\_(arg2: object) → object

#### \_\_init\_\_()

#### \_\_iter\_\_() → object

#### \_\_iter\_\_() → object

#### \_\_len\_\_() → int

#### \_\_setitem\_\_(arg2: object, arg3: object)

#### append(arg2: object)

#### extend(arg2: object)

#### push\_back(arg2: [TextImportDimensionSettings](#py_os_design.TextImportDimensionSettings))

#### size() → int

## *class* py\_os\_design.TextImportDimensionType

**Enumeration**

#### DesignId *= py\_os\_design.TextImportDimensionType.DesignId*

#### DontImport *= py\_os\_design.TextImportDimensionType.DontImport*

#### Parameter *= py\_os\_design.TextImportDimensionType.Parameter*

#### Response *= py\_os\_design.TextImportDimensionType.Response*

## *class* py\_os\_design.TextImportReplaceValues

Replace text item.

#### \_\_init\_\_()

#### \_\_init\_\_()

#### *property* complete

Value has to fit complete if True, else also wordparts will be replaced.

#### *property* dimension

When replacement should only be done in one column, put dimension name in here, else leave empty for replacement in all dimensions.

#### *property* replacement

Replacement text.

#### *property* text

Text to be replaced.

## *class* py\_os\_design.TextImportReplaceValuesVector

#### \_\_contains\_\_(arg2: object) → bool

#### \_\_delitem\_\_(arg2: object)

#### \_\_getitem\_\_(arg2: object) → object

#### \_\_init\_\_()

#### \_\_iter\_\_() → object

#### \_\_iter\_\_() → object

#### \_\_len\_\_() → int

#### \_\_setitem\_\_(arg2: object, arg3: object)

#### append(arg2: object)

#### extend(arg2: object)

#### push\_back(arg2: [TextImportReplaceValues](#py_os_design.TextImportReplaceValues))

#### size() → int

## *class* py\_os\_design.TextImportSettings

Settings object for determining settings for text import.

#### \_\_init\_\_()

#### \_\_init\_\_()

#### *property* additional\_columns

Vector with additional dimensions, defined by name and expression.

#### *property* assume\_has\_header

Determine the existance of a header line.

#### *property* automatically\_indentify\_vector\_responses

Dimension names e.g. “response\_name\[%d]” will be grouped together as one vector response “response\_name”.

#### *property* column\_exclude

Columns to exclude.

#### *property* column\_include

Columns to include.

#### *property* column\_increment

Import every nth column - has to be strictly positive.

#### *property* column\_maximum

The last column to be read.

#### *property* delimiters

Delimiters to split the lines.

#### *property* design\_layout\_horizontal

Set True for horizontal layout. Else False.

#### *property* dimension\_settings

Define the dimensions.

#### export\_settings(path\_to\_settings\_file: [Path](https://developer.synopsys.com/docs/optislang/optislang-python-api/2026-r1/modules/stdcpp_python_export.md#stdcpp_python_export.Path))

Export text import settings to file.

#### *property* header\_line

Line number of header line.

#### *property* import\_deactivated\_designs

Import deactivated designs, or not.

#### *property* import\_designs\_with\_infinity\_as

Designs containing infinity values will be imported either as activated or deactivated, or won’t be imported.

#### *property* import\_designs\_with\_nan\_as

Designs containing nan values will be imported either as activated or deactivated, or won’t be imported.

#### *property* import\_duplicated\_designs

Import duplicated designs, or not.

#### *property* import\_incomplete\_designs\_as

Incomplete designs will be imported either as activated or deactivated, or won’t be imported.

#### import\_settings(path\_to\_settings\_file: [Path](https://developer.synopsys.com/docs/optislang/optislang-python-api/2026-r1/modules/stdcpp_python_export.md#stdcpp_python_export.Path))

Import text import settings from file.

#### *property* is\_read\_from\_line\_offset

Read the text file from line is active.

#### *property* is\_read\_from\_marker

Read the text file from marker is active.

#### *property* lines

Lines to include.

#### *property* read\_from\_beginning

Read the text file from beginning.

#### *property* read\_from\_line\_offset

Read the text file from given line.

#### *property* read\_from\_marker

Read the text file from marker.

#### *property* replace\_entries

Vector with entries for replacing text entries.

#### *property* row\_increment

Import every nth line - has to be strictly positive.

#### *property* start\_design\_id\_numbering\_with

When no design id dimension is chosen, design numbering starts with this id.

## *class* py\_os\_design.UninitializedType

#### \_\_init\_\_()

## py\_os\_design.calculate\_criteria(design: PyOSDesign) → [PyOSDesign](#py_os_design.PyOSDesign)

Returns the given design with calculated criteria values. For the calculation an internally initialized calculator is used.

## py\_os\_design.calculate\_criteria\_container(design\_container: PyOSDesignContainer) → [PyOSDesignContainer](#py_os_design.PyOSDesignContainer)

Returns the given design container with calculated criteria values for all containing designs.

## py\_os\_design.calculate\_criteria\_with\_calc(design: PyOSDesign, calculator: object) → [PyOSDesign](#py_os_design.PyOSDesign)

Returns the given design with calculated criteria values. For the calculation the externally initialized calculator is used.

## py\_os\_design.calculate\_dependent\_container(design\_container: [PyOSDesignContainer](#py_os_design.PyOSDesignContainer), parameter\_manager: [PyParameterManager](https://developer.synopsys.com/docs/optislang/optislang-python-api/2026-r1/modules/py_os_parameter.md#py_os_parameter.PyParameterManager))

Calculates the dependent input parameter values for all designs of the given design container.

## py\_os\_design.create\_nvp\_design\_entry(name: str, value: [PyOSDesignEntry](#py_os_design.PyOSDesignEntry)) → object

Create entry pair with name and value.

## py\_os\_design.designs\_to\_python\_object(designs: PyOSDesignContainer) → object

## py\_os\_design.export\_designs\_to\_csv(designs: [PyOSDesignContainer](#py_os_design.PyOSDesignContainer), file: [Path](https://developer.synopsys.com/docs/optislang/optislang-python-api/2026-r1/modules/stdcpp_python_export.md#stdcpp_python_export.Path), delimiter: str)

## py\_os\_design.export\_designs\_to\_json(designs: PyOSDesignContainer, path: Path)

## py\_os\_design.import\_designs\_from\_csv(inputs: [PyOSDesignPoint](#py_os_design.PyOSDesignPoint), criteria: [PyOSCriterionContainer](https://developer.synopsys.com/docs/optislang/optislang-python-api/2026-r1/modules/py_os_criterion.md#py_os_criterion.PyOSCriterionContainer), file: [Path](https://developer.synopsys.com/docs/optislang/optislang-python-api/2026-r1/modules/stdcpp_python_export.md#stdcpp_python_export.Path), delimiter: str) → [PyOSDesignContainer](#py_os_design.PyOSDesignContainer)

## py\_os\_design.import\_designs\_from\_json(path: [Path](https://developer.synopsys.com/docs/optislang/optislang-python-api/2026-r1/modules/stdcpp_python_export.md#stdcpp_python_export.Path)) → [PyOSDesignContainer](#py_os_design.PyOSDesignContainer)

## py\_os\_design.read\_design\_from\_file(file: [Path](https://developer.synopsys.com/docs/optislang/optislang-python-api/2026-r1/modules/stdcpp_python_export.md#stdcpp_python_export.Path), parsed\_filename: str) → [PyOSDesign](#py_os_design.PyOSDesign)

## py\_os\_design.write\_design\_to\_file(design: [PyOSDesign](#py_os_design.PyOSDesign), file: [Path](https://developer.synopsys.com/docs/optislang/optislang-python-api/2026-r1/modules/stdcpp_python_export.md#stdcpp_python_export.Path), inputs\_only: bool, source\_file: str)
