Workspace
- class keysight.ads.de.Workspace
- __init__(path: str | PathLike)
- add_library(library_name: str, library_path: Path | str, mode: LibraryMode = LibraryMode.READ_ONLY) None
- close() None
- design(name: CellviewRefLike, mode: DesignMode = DesignMode.READ_ONLY) Design
- get_layout_preference(index: WorkspacePreference) PreferenceValueType
Use
with de.experimental.preferences():to work with preferences. The API is subject to change.
- get_schematic_preference(index: WorkspacePreference) PreferenceValueType
Use
with de.experimental.preferences():to work with preferences. The API is subject to change.
- property is_open: bool
- property lib_defs_file: Path
- property libraries: NamedItemCollectionAbc[Library]
All open libraries, including read-only libraries.
A library may be accessed by using the [] operator, indexed by the library name.
See
writable_libraries()for a narrower collection.
- property library_names: set[str]
- open(*, force: bool = False) None
Open an ADS workspace.
This object’s path property is updated to show the workspace path used by ADS.
- forcebool [optional, default = False]
If False, raises a RuntimeError if a workspace is already open. If True, will first close any open workspace, losing unsaved changes.
- open_library(lib_name: str, lib_path: str | PathLike | None = None, mode: LibraryMode = LibraryMode.READ_ONLY) Library
- property path: Path
- remove_library(library_name: str, library_path: Path | str) None
- set_layout_preference(index: WorkspacePreference, value: PreferenceValueType) None
Use
with de.experimental.preferences():to work with preferences. The API is subject to change.
- set_schematic_preference(index: WorkspacePreference, value: PreferenceValueType) None
Use
with de.experimental.preferences():to work with preferences. The API is subject to change.
- property writable_libraries: NamedItemCollectionAbc[Library]
The libraries that are open for modification.
A library may be accessed by using the [] operator, indexed by the library name.
See
libraries()for a broader collection.
- property writable_library_names: set[str]