Design Elements
Classes
- class keysight.ads.de.db_uu.ApolloObject
Base class for objects that appear in Designs.
- __init__(unused: InvalidCall, *args, **kwargs) None
Return an error about attempts to initialize objects that don’t support initialization.
- delete_object() None
- property groups: NamedReadableCollectionAbc[Group]
The collection of groups that contain this object.
- property type: ApolloType
- class keysight.ads.de.db_uu.AppObject
Bases:
ApolloObjectAn application defined extension object.
- __init__(unused: InvalidCall, *args, **kwargs) None
Return an error about attempts to initialize objects that don’t support initialization.
- class keysight.ads.de.db_uu.AttrDisplay
Bases:
TextDisplayDisplay object that displays an attribute of some other object.
- __init__(obj: ApolloObject | Design, attr_type: DesignAttrType | InstAttrType | InstTermAttrType | NetAttrType | TermAttrType, layer_id: LayerId, origin: PointF | tuple[float, float], font_name: str, height: float, align: TextAlignment = TextAlignment.CENTER_LEFT, orient: Orientation = Orientation.R0, display_format: TextDisplayFormat = TextDisplayFormat.VALUE, has_overbar: bool = False, is_visible: bool = True, is_drafting: bool = True) None
- property attribute: DesignAttrType | InstAttrType | InstTermAttrType | NetAttrType | TermAttrType
- property object: ApolloObject | Design
- class keysight.ads.de.db_uu.BlockObject
Bases:
ApolloObject
- class keysight.ads.de.db_uu.BundleNet
Bases:
NetA multi-bit net whose name contains commas separating the bits (e.g. “a, b, c”).
- class keysight.ads.de.db_uu.BundleTerm
Bases:
Term
- class keysight.ads.de.db_uu.BusNet
Bases:
NetA multi-bit net whose name uses bus syntax (e.g. “A<0:7>”).
- class keysight.ads.de.db_uu.BusTerm
Bases:
Term
- class keysight.ads.de.db_uu.BusNetBit
Bases:
NetA single bit net whose name uses bus syntax (e.g. “A<0>”).
- class keysight.ads.de.db_uu.CompositeObject
Bases:
GroupBase class for composite objects in a design.
A collection of objects that represent a special purpose object such as a Plane or Interconnect.
- property master_object: ApolloObject
Returns the master object (which is not in this Composite Group).
- property name: str
- class keysight.ads.de.db_uu.ConstructionLine
Bases:
AppObjectA construction line used to aid in aligning objects.
- __init__(unused: InvalidCall, *args, **kwargs) None
Return an error about attempts to initialize objects that don’t support initialization.
- class keysight.ads.de.db_uu.CustomVia
Bases:
ViaA custom OpenAccess Via.
The via is defined partly by its definition in the technology. The geometry of a custom via is determined by another design.
- class keysight.ads.de.db_uu.Design
A database that holds all or part of the data that describes a design.
Depending on the parent module, the units of geometric values will be user units or database units.
- __init__(lib: str, cell: str, view: str, mode: DesignMode = DesignMode.READ_ONLY) None
- __init__(lib: Library, cell: str, view: str, mode: DesignMode = DesignMode.READ_ONLY) None
- __init__(*, cell: Cell, view: str, mode: DesignMode = DesignMode.READ_ONLY) None
- __init__(*, view: View, mode: DesignMode = DesignMode.READ_ONLY) None
- add_attr_display(obj: ApolloObject | Design, attr_type: AttrType, layer_id: LayerId, origin: PointF | tuple[float, float], font_name: str, height: float, align: TextAlignment = TextAlignment.CENTER_LEFT, orient: Orientation = Orientation.R0, display_format: TextDisplayFormat = TextDisplayFormat.VALUE, has_overbar: bool = False, is_visible: bool = True, is_drafting: bool = True) AttrDisplay
- add_construction_line(layer_id: LayerId, pt1: PointF | tuple[float, float], pt2: PointF | tuple[float, float]) ConstructionLine
- add_inst_attr_display(inst: Instance, master_attribute: DesignAttrType, layer_id: LayerId, origin: PointF | tuple[float, float], font_name: str, height: float, align: TextAlignment = TextAlignment.CENTER_LEFT, orient: Orientation = Orientation.R0, display_format: TextDisplayFormat = TextDisplayFormat.VALUE, has_overbar: bool = False, is_visible: bool = True, is_drafting: bool = True) InstAttrDisplay
- add_instance(master: ItemInfo, origin: PointF | tuple[float, float], *, angle: float = 0.0) Instance
- add_instance(master: CellviewRefLike, origin: PointF | tuple[float, float], *, name: str = '', angle: float = 0.0) Instance
- add_line(layer_id: LayerId, outline: Outline, arc_resolution: float = 5.0) Line
- add_line(layer_id: LayerId, outline: Sequence[PointF | tuple[float, float]], arc_resolution: float = 5.0) Line
- add_numbered_term(net: Net, term_name: str, term_number: int, term_type: TermType = TermType.INPUT_OUTPUT) Term
- add_pad_with_drill_layer(padstack: Padstack | str, drill_layer: LayerId, loc: PointF | tuple[float, float]) PCBPad
- add_pad_with_specified_layers(padstack: Padstack | str, top_layer: LayerId, bottom_layer: LayerId, loc: PointF | tuple[float, float], minimize_drills: bool = True) PCBPad
- add_path(layer_id: LayerId, polyline: GenPolyline) Polygon
- add_path(layer_id: LayerId, polyline: Sequence[PointF | tuple[float, float]], width: float) Polygon
- add_pathseg(layer_id: LayerId, begin: PointF | tuple[float, float], end: PointF | tuple[float, float], width: float, end_style: LineEndType) PathSeg
- add_pin(term: Term, pin_figs: PinFig, *, angle: float = 0.0) Pin
- add_pin(term: Term, pin_figs: list['PinFig'], *, angle: float = 0.0) Pin
- add_plane(plane_info: PlaneInfo, shape: GenPolygonWithHoles, name: str) Plane
- add_plane(plane_info: PlaneInfo, shape: GenPolygon, name: str) Plane
- add_plane(plane_info: PlaneInfo, shape: Shape, name: str) Plane
- add_polygon(layer_id: LayerId, polygon: GenPolygonWithHoles | GenPolygon | Sequence[PointF | tuple[float, float]], arc_resolution: float = 5.0) Polygon
- add_rectangle(layer_id: LayerId, ll_or_box: BoxF) Rect
- add_rectangle(layer_id: LayerId, ll_or_box: PointF | tuple[float, float], ur: PointF | tuple[float, float]) Rect
- add_single_layer_pad(padstack: Padstack | str, pad_layer: LayerId, loc: PointF | tuple[float, float]) PCBPad
- add_text(layer_id: LayerId, text: str, origin: PointF | tuple[float, float], font_name: str, height: float, align: TextAlignment = TextAlignment.CENTER_LEFT, orient: Orientation = Orientation.R0, has_overbar: bool = False, is_visible: bool = True, is_drafting: bool = True) Text
- add_trace(layer_id: LayerId, polyline: GenPolyline) Polygon
- add_trace(layer_id: LayerId, polyline: Sequence[PointF | tuple[float, float]], width: float) Polygon
- add_via_with_drill_layer(padstack: Padstack | str, drill_layer: LayerId, loc: PointF | tuple[float, float]) PCBVia
- add_via_with_specified_layers(padstack: Padstack | str, top_layer: LayerId, bottom_layer: LayerId, loc: PointF | tuple[float, float], minimize_drills: bool = True) PCBVia
- add_wire(outline: Outline, *, layer_id: 'LayerId' | None = None) Line
- add_wire(outline: Sequence[PointF | tuple[float, float]], *, layer_id: 'LayerId' | None = None) Line
- calculate_text_width(text: str, font_height: float, font_name: str) float
- property cell_name: str
- clear_design() None
- property config_view_name: str
- create_netlist() str
- property dbu_to_meter_factor: float
- dbu_to_uu(arg: PointDBU) PointUU
- dbu_to_uu(arg: tuple[int, int]) PointUU
- dbu_to_uu(arg: int) float
Convert a value in database units to an equivalent value in user units.
- property dbu_to_uu_factor: float
The ratio of user units to database units in the technology of this design.
- property design_name: str
- property fig_groups: NamedReadableCollectionAbc[FigGroup]
The collection of fig groups in this design.
- generate_netlist(config_view: CellviewRefLike | None = None) str
- get_hierarchy_for_netlist(config_view: CellviewRefLike | None = None) DesignHierarchy
- get_pcell_parent_library() Library
Use during pcell generation to get the library of the parent design.
- get_preference(preference: WorkspacePreference | LibSpecificPreference) PreferenceValueType
Use
with de.experimental.preferences():to work with preferences. The API is subject to change.
- property groups: NamedReadableCollectionAbc[Group]
The collection of groups in this design.
Note: Some groups are not uniquely named.
- property has_explicit_hierarchy_policy: bool
- property hierarchy_policy_name: str
- in_database_units() DesignDBU
- in_user_units() DesignUU
- property is_layout: bool
- property is_schematic: bool
- property is_symbol: bool
- property lib_name: str
- make_pcell(function_name: str) None
- property meter_to_dbu_factor: float
- property meter_to_uu_factor: float
- property model_def: ModelDefBase | None
- pick_object_at(loc: PointF | tuple[float, float], tolerance: float | None = None) ApolloObject | None
- pick_objects_at(loc: PointF | tuple[float, float], tolerance: float | None = None) list[ApolloObject]
- save_design() None
- save_design_as(destination: CellviewRefLike) None
- property selected_objects: list[ApolloObject]
- set_preference(preference: WorkspacePreference | LibSpecificPreference, value: PreferenceValueType) None
Use
with de.experimental.preferences():to work with preferences. The API is subject to change.
- property unit_name: str
- uu_to_dbu(arg: PointUU) PointDBU
- uu_to_dbu(arg: tuple[float, float]) PointDBU
- uu_to_dbu(arg: float) int
Convert a value in user units to an equivalent value in database units.
- property uu_to_dbu_factor: int
The ratio of database units to user units in the technology of this design.
- property uu_to_meter_factor: float
- property view_name: str
- class keysight.ads.de.db_uu.Fig
Bases:
BlockObjectBase class for all figures.
- __init__(unused: InvalidCall, *args, **kwargs) None
Return an error about attempts to initialize objects that don’t support initialization.
- property fig_group_mem: FigGroupMem | None
Return the FigGroupMem that references this Fig, if it is a member of a FigGroup.
- class keysight.ads.de.db_uu.FigGroup
A collection of figures that can be reused.
This collection is called a Group in the ADS UI.
- add_object_to_fig_group(obj: ApolloObject) None
Add obj to this FigGroup.
If obj is a pin, all of its PinFigs will be added. If obj is a composite object, all of its Figs will be added.
add_object_to_fig_group is deprecated, and will be removed in the 2025 Update 2 release. Use add_to_fig_group
- add_objects(objects: Sequence[ApolloObject]) None
Add the objects to this FigGroup if not already a member.
- add_to_fig_group(obj: ApolloObject) None
Add obj to this FigGroup.
If obj is a pin, all of its PinFigs will be added. If obj is a composite object, all of its Figs will be added.
- contains(obj: ApolloObject) bool
- property has_any_children: bool
- property members: ReadableCollectionAbc[FigGroupMem]
- property name: str
- remove_from_fig_group(obj: ApolloObject) None
Remove obj from this FigGroup.
If obj is a pin, all of its PinFigs will be removed. If obj is a composite object, all of its Figs will be removed.
- remove_object_from_fig_group(obj: ApolloObject) None
Remove obj from this FigGroup.
If obj is a pin, all of its PinFigs will be removed. If obj is a composite object, all of its Figs will be removed.
remove_object_from_fig_group is deprecated, and will be removed in the 2025 Update 2 release. Use remove_from_fig_group
- class keysight.ads.de.db_uu.Group
Bases:
ApolloObjectA named collection of objects from the same database.
Note: Some groups are not uniquely named.
- add_to_group(obj: ApolloObject) None
- add_to_group_as_leader(obj: ApolloObject) None
- contains(obj: ApolloObject) bool
- property is_empty: bool
- property is_ordered: bool
- property is_uniquely_named: bool
True if the group name must be unique in the database that owns the group.
- property leader: GroupMember | None
- property members: ReadableCollectionAbc[GroupMember]
- property name: str
- class keysight.ads.de.db_uu.GroupMember
Bases:
ApolloObjectA link between a Group and a member object.
- __init__(group: Group, obj: ApolloObject, is_leader: bool = False) None
Create a GroupMember, adding obj to the group.
- property is_leader: bool
- property object: ApolloObject
- class keysight.ads.de.db_uu.Instance
Bases:
RefRepresents an instance of a master cellview in a design.
- __init__(design: Design, master: ItemInfo, origin: PointF | tuple[float, float], *, angle: float = 0.0) None
- __init__(design: Design, master: CellviewRefLike, origin: PointF | tuple[float, float], *, name: str = '', angle: float = 0.0) None
- activate() None
- property cell_name: str
- clear_scope() None
- property component_name: str
- static create(design: Design, master: CellviewRefLike, origin: PointF | tuple[float, float], *, name: str = '', angle: float = 0.0) Instance
- static create_from_item(design: Design, master: ItemInfo, origin: PointF | tuple[float, float], *, angle: float = 0.0) Instance
- deactivate() None
- deactivate_and_short() None
- get_inst_pin_iter() InstPinIter
- get_inst_term_iter() InstTermIter
- property has_global_scope: bool
- property has_nested_scope: bool
- property inst_name: str
- invoke_item_parameter_changed_callback(parameter_names: str | Sequence[str]) None
- property is_deactivated: bool
- property is_deactivated_and_shorted: bool
- property is_implicit: bool
- is_primitive_in_hierarchy(hierarchy: DesignHierarchy) bool
- property is_shorted: bool
- property is_var_instance: bool
- property item_model_is_bom_item: bool
model_def.is_bom_item
- Type:
item_model_is_bom_item is deprecated, and will be removed in the 2025 Update 2 release. Use
- property item_model_is_normal_or_undefined: bool
model_def is None
- Type:
item_model_is_normal_or_undefined is deprecated, and will be removed in the 2025 Update 2 release. Use
- property item_model_is_sub_design: bool
model_def.is_sub_design
- Type:
item_model_is_sub_design is deprecated, and will be removed in the 2025 Update 2 release. Use
- property library_name: str
- property model_cell_name: str
- property model_def: ModelDefBase | None
- property model_library_name: str
- property name: str
- property parameters: ParamBaseCollection
- set_global_scope() None
- set_nested_scope() None
- property specialized_subview: str
- update_item_annotation() None
- property vars: VarParamCollection
- property view_name: str
- class keysight.ads.de.db_uu.InstanceIter
- exclude_composite_children() None
- exclude_pin_insts() None
- include_composite_children() None
- include_implicit_insts() None
- include_pin_insts() None
- class keysight.ads.de.db_uu.InstAttrDisplay
Bases:
TextDisplayDisplay object that displays an attribute of an instance master.
- __init__(inst: Instance, master_attribute: DesignAttrType, layer_id: LayerId, origin: PointF | tuple[float, float], font_name: str, height: float, align: TextAlignment = TextAlignment.CENTER_LEFT, orient: Orientation = Orientation.R0, display_format: TextDisplayFormat = TextDisplayFormat.VALUE, has_overbar: bool = False, is_visible: bool = True, is_drafting: bool = True) None
- property master_attribute: DesignAttrType
- class keysight.ads.de.db_uu.InstPin
Represents the physical connection between an instance terminal and a pin on the master design.
- __init__(unused: InvalidCall, *args, **kwargs) None
Return an error about attempts to initialize objects that don’t support initialization.
- add_label(label: str, pt: PointF | tuple[float, float]) AttrDisplay
- find_first_wire_label() AttrDisplay | None
- get_angle_normalized() int
- property inst_pin_id: str
- property is_valid: bool
- class keysight.ads.de.db_uu.InstPinIter
Bases:
object
- class keysight.ads.de.db_uu.InstPropDisplay
Bases:
TextDisplayDisplay object that displays a property value of an instance master.
- class keysight.ads.de.db_uu.InstTerm
Bases:
BlockObjectRepresents a connection between a net and a terminal in the master of an instance.
If either the instance or term is multibit, the number of bits in the net must match the number of bits in the instance times the number of bits in the term.
InstTerms can exist that do not have a corresponding terminal in the instance master design. In this case, the InstTerm is not bound.
InstTerms can be bound by name or by number. If bound by number, all InstTerms on the instance must be bound by number. If bound by name, the InstTerm is bound to the terminal in the master design with the same name.
- __init__(unused: InvalidCall, *args, **kwargs) None
Return an error about attempts to initialize objects that don’t support initialization.
- add_label(label: str, pt: PointF | tuple[float, float]) AttrDisplay
- find_first_wire_label() AttrDisplay | None
- get_inst_pin_iter() InstPinIter
- get_inst_term_name() str
get_inst_term_name is deprecated, and will be removed in the 2025 Update 2 release. Use term_name if not numbered or term.name if bound.
- get_inst_term_number() int
get_inst_term_number is deprecated, and will be removed in the 2025 Update 2 release. Use term_number if numbered or term.number if bound.
- property inst_term_id: str
- property is_bound: bool
Return True if this InstTerm is bound to the matching terminal on the master design.
- property is_implicit: bool
- property is_numbered: bool
Return True if this InstTerm uses numbers to bind to the terminal.
- property term_name: str
Return the term name if this InstTerm uses names to bind the term.
Otherwise, raise an exception.
- property term_number: int
Return the term number if this InstTerm uses numbers to bind the term.
Otherwise, raise an exception.
- class keysight.ads.de.db_uu.Interconnect
Bases:
CompositeObjectAn Interconnect is a composite object used to implement a Trace.
- property interconnect_info: InterconnectInfo
Return a reference to the cached copy of the InterconnectInfo for this Interconnect.
- class keysight.ads.de.db_uu.InterconnectInfo
Holds the information required to create an Interconnect, trace or path.
It may also hold the information that describes existing traces, paths and interconnect.
- __init__(obj: Tech)
- __init__(obj: Interconnect)
- __init__(obj: Path)
- __init__(obj: Shape)
- __init__(obj: Tech, line: GenPolyline, layer_id: LayerId)
Create a new InterconnectInfo object.
- InterconnectInfo(tech):
creates an empty InterconnectInfo.
- InterconnectInfo(tech, gen_polyline, layer_id):
creates an InterconnectInfo based on the information from the polyline.
- InterconnectInfo(interconnect):
creates an InterconnectInfo with a copy of the information from the interconnect object.
- InterconnectInfo(path):
creates an InterconnectInfo with a copy of the information from the path object.
- InterconnectInfo(shape):
creates an InterconnectInfo with a copy of the information from the shape object.
- construct_interconnect(net: Net) ApolloObject
- construct_interconnect_or_trace_with_search_for_net(design: Design) ApolloObject
- construct_interconnect_with_search_for_net(design: Design, name_prefix: str = '') Interconnect
- copy() InterconnectInfo
Return a copy of this object.
- data_matches(other: InterconnectInfo, check_layers: bool) bool
Return true if the other info has matching data.
- property first_line_info: LineTypeInfo
- get_line_info_at_end(end: WhichConnection) LineTypeInfo
- get_starting_index_of_segment(segment_number: int) int
- get_via_at_index(index: int) ViaElement
- property has_any_teardrop_definitions: bool
- property has_any_vias: bool
- property has_arcs: bool
- has_via_at_index(index: int) bool
- initialize_first_line_type(info: LineTypeInfo) None
- property last_line_info: LineTypeInfo
- set_next_line_type(info: LineTypeInfo) None
- set_via_at_last_point(via_element: ViaElement) None
- property teardrop_touch_back: TeardropTouching
- property teardrop_touch_front: TeardropTouching
- class keysight.ads.de.db_uu.Line
Bases:
Shape
- add_wire_label(label: str, pt: PointF | tuple[float, float] | None = None) AttrDisplay
- property interconnect_info: InterconnectInfo
Return a reference to the cached copy of the InterconnectInfo for this Line.
- class keysight.ads.de.db_uu.Net
Bases:
BlockObjectBase class for net objects.
- __init__(unused: InvalidCall, *args, **kwargs) None
Return an error about attempts to initialize objects that don’t support initialization.
- are_all_bits_of_net_global_ground() bool
- static create(design: Design, net_name: str) Net
Create a derived net object, depending on the type of name.
- get_inst_pin_iter() InstPinIter
- is_empty_and_unlabeled() bool
- property is_global: bool
- property is_global_ground: bool
- property is_implicit: bool
- property name: str
Return net name.
If the net was created without a name, one has been generated for it.
- property num_bits: int
- property signal_type: SignalType
- class keysight.ads.de.db_uu.Path
Bases:
Shape
- property interconnect_info: InterconnectInfo
Return a reference to the cached copy of the InterconnectInfo for this Path.
- class keysight.ads.de.db_uu.PathSeg
Bases:
Shape
- __init__(design: Design, layer_id: LayerId, begin: PointF | tuple[float, float], end: PointF | tuple[float, float], width: float, end_style: LineEndType) None
- property width: float
- class keysight.ads.de.db_uu.PCBBase
Bases:
ScalarInstBase class for PCB Pads and Vias.
- class PadViaType
Bases:
pybind11_objectType of Pad or Via.
Members:
SINGLE_LAYER_PAD
DRILL_LAYER
THROUGH
BLIND_BURIED_PAD
- BLIND_BURIED_PAD = <PadViaType.BLIND_BURIED_PAD: 3>
- DRILL_LAYER = <PadViaType.DRILL_LAYER: 1>
- SINGLE_LAYER_PAD = <PadViaType.SINGLE_LAYER_PAD: 0>
- THROUGH = <PadViaType.THROUGH: 2>
- __init__(self: keysight.ads.de._pde.db.PadViaType, value: int) None
- property name
- property value
- static is_stacked_pcb_via(inst: Instance) TypeGuard[StackedPCBVia]
- property pad_via_type: PadViaType
- class keysight.ads.de.db_uu.PCBPad
Bases:
PCBBaseRepresents a PCB Pad instance in layout.
The Pad can be a single layer pad, a pad with a specified drill layer, a pad with specified top and bottom layers, or a through pad.
- property bottom_layer: int
Bottom layer of this pad.
Will raise an exception if this is not a pad with top and bottom layers.
- property drill_layer: int
Drill layer of this pad.
Will raise an exception if this is not a pad with drill.
- property pad_layer: int
Layer of this pad.
Will raise an exception if this is not a single layer pad.
- property padstack_name: str
Name of the padstack template that defines this pad.
The name will be in the form lib_name:padstack_name.
- property top_layer: int
Top layer of this pad.
Will raise an exception if this is not a pad with top and bottom layers.
- class keysight.ads.de.db_uu.PCBVia
Bases:
PCBBaseRepresents a PCB Via instance in layout.
The Via can be specified by rule or with a Padstack template definition and specified layers. Vias with Padstack definitions can have a specified drill layer, specified top and bottom layers, or be a through via.
- property bottom_layer: int
Bottom layer of this via.
Will raise an exception if this is not a via with top and bottom layers.
- property drill_layer: int
Drill layer of this via.
Will raise an exception if this is not a via with drill.
- property padstack_name: str
Name of the padstack template that defines this via.
The name will be in the form lib_name:padstack_name. This will be empty if the via was defined by a rule.
- property rule_name: str
Name of the via rule that defines this via.
The name will be in the form lib_name:rule_name. This will be empty if the via was not defined by a rule.
- property top_layer: int
Top layer of this via.
Will raise an exception if this is not a via with top and bottom layers.
- class keysight.ads.de.db_uu.Pin
Bases:
BlockObjectRepresents the physical connection between a terminal and a net.
- __init__(term: Term, pin_figs: PinFig, *, angle: float = 0.0) None
- __init__(term: Term, pin_figs: list[PinFig], *, angle: float = 0.0) None
- add_label(label: str, pt: PointF | tuple[float, float]) AttrDisplay
- property angle: float
- find_first_wire_label() AttrDisplay | None
- property has_any_pinfigs: bool
- property name: str
- property needs_drawing_artifact: bool
- property term_name: str
- property term_number: int
- update_pin_annotation(preserve_origin: bool = True) None
- class keysight.ads.de.db_uu.PinFig
Bases:
FigBase class for all figures that can represent pins (instances, shapes and vias).
- find_first_wire_label() AttrDisplay | None
- remove_from_pin() None
- class keysight.ads.de.db_uu.Plane
Bases:
CompositeObjectA plane is a large shape (composite) on a single net.
The layer is usually a conductor (e.g. copper). The net is often ground or power.
- copy_original_polygon() GenPolygonWithHoles
Get a copy of the original polygon that defines the plane.
Modifications made to the returned polygon won’t affect this Plane.
- copy_plane_info() PlaneInfo
Get a copy of the information used to build this plane.
Modifications made to the returned PlaneInfo won’t affect this Plane.
- class keysight.ads.de.db_uu.PlaneInfo
Holds the information required to create/recreate a Plane.
- class DegasOptions
Options for degassing a plane.
- class VentShape
Describes the shape of the perforations used for venting a Plane.
Members:
INVALID : ‘Invalid’: This vent shape is not specified.
RECTANGLE : ‘Rectangle: The vent shape is a rectangle.
SQUARE : ‘Square: The vent shape is a square.
CIRCLE : ‘Circle: The vent shape is a circle.
OCTAGON : ‘Octagon: The vent shape is an octagon.
- CIRCLE = <VentShape.CIRCLE: 2>
- INVALID = <VentShape.INVALID: -1>
- OCTAGON = <VentShape.OCTAGON: 3>
- RECTANGLE = <VentShape.RECTANGLE: 0>
- SQUARE = <VentShape.SQUARE: 1>
- __init__(self: keysight.ads.de._pde.db.DegasOptions.VentShape, value: int) None
- property name
- property str
Return the string representation of the vent shape.
- property value
- class VentStartingPosition
Describes the location of the initial perforation when venting a plane.
Members:
LOWER_LEFT : ‘LowerLeft’: Start from the lower left of the bounding box.
LOWER_RIGHT : ‘LowerRight’: Start from the lower right of the bounding box.
UPPER_LEFT : ‘UpperLeft’: Start from the upper left of the bounding box.
UPPER_RIGHT : ‘UpperRight’: Start from the upper right of the bounding box.
- LOWER_LEFT = <VentStartingPosition.LOWER_LEFT: 0>
- LOWER_RIGHT = <VentStartingPosition.LOWER_RIGHT: 1>
- UPPER_LEFT = <VentStartingPosition.UPPER_LEFT: 2>
- UPPER_RIGHT = <VentStartingPosition.UPPER_RIGHT: 3>
- __init__(self: keysight.ads.de._pde.db.DegasOptions.VentStartingPosition, value: int) None
- property name
- property str
Return the string representation of the vent starting position.
- property value
- property min_edge_distance: float
The minimum clearance between a perforation and any clearance or edge.
- property min_venting_area: float
The minimum area of a plane shape that will be considered for perforation.
- property pitch_height: float
Specifies vertical separation between the center points of the venting holes.
- property pitch_width: float
Specifies horizontal separation between the center points of the venting holes.
- same_props(other: DegasOptions) bool
Determine if the essential properties are the same.
This is not the same as equality because properties that are not enabled are ignored.
- property starting_offset_x: float
The horizontal spacing from the starting position to the initial perforation.
- property starting_offset_y: float
The vertical spacing from the starting position to the initial perforation.
- property vent_shape_height: float
Specifies the height of the vent shape.
For Square, Circle and Octagon, this is ignored.
- property vent_shape_width: float
Specifies the width of the vent shape.
For Square, Circle and Octagon, only the width is used.
- property vent_starting_position: VentStartingPosition
Describes the location of the initial perforation.
- class RemoveIslandsMode
Describes island removal.
Members:
REMOVE_NONE : ‘RemoveNone’: Does not remove any islands.
REMOVE_ALL : ‘RemoveAll: Removes all islands.
REMOVE_BY_AREA : ‘RemoveByArea’: Removes islands whose area is less than the min_island_area.
- REMOVE_ALL = <RemoveIslandsMode.REMOVE_ALL: 1>
- REMOVE_BY_AREA = <RemoveIslandsMode.REMOVE_BY_AREA: 2>
- REMOVE_NONE = <RemoveIslandsMode.REMOVE_NONE: 0>
- __init__(self: keysight.ads.de._pde.db.PlaneInfo.RemoveIslandsMode, value: int) None
- property name
- property str
Return the string representation of the RemoveIslandsMode.
- property value
- property clearance: float
Defines the minimum distance between a plane and an object from a different net.
This is ignored if using clearance rules (use_clearance_rules is True).
- property degas_options: DegasOptions
- property degassing_enabled: bool
If True, perforate the plane with rows and columns of holes (using the degas_options).
- property min_feature_width: float
Specifies the minimum width of a feature or notch that gets preserved when smoothing.
- property min_island_area: float
Specifies the minimum area of an island that gets preserved when removing islands by area.
- property net_name: str
The name of the Plane’s net.
- property remove_islands_mode: RemoveIslandsMode
Determines how unconnected islands within the Plane’s outline get removed.
- same_props(other: PlaneInfo) bool
Determine if the essential properties are the same.
This is not the same as equality because properties that are not enabled are ignored.
- property smoothing_enabled: bool
If True, the Plane’s outline gets smoothed, possibly removing small features and rounding corners.
- property thermal_relief_enabled: bool
Insert thermal straps (using thermal_straps_width) to avoid overheating.
- property thermal_straps_width: float
Specifies the width of thermal straps.
- property use_clearance_rules: bool
If True, use the clearance rules defined in the Constraints Manager and ignore the clearance property.
- property use_round_corners_when_smoothing: bool
If True, round corners created when features are removed by smoothing. Otherwise bevel the corners.
- property use_rounded_clearance: bool
Use rounded corners when creating clearance around objects with sharp corners.
- class keysight.ads.de.db_uu.Polygon
Bases:
Shape
- __init__(design: Design, layer_id: LayerId, polygon: GenPolygonWithHoles, arc_resolution: float = 5.0) None
- get_centerline(allow_arcs: bool = True) GenPolyline
Return a copy of the centerline of this polygon.
- property interconnect_info: InterconnectInfo
Return a reference to the cached copy of the InterconnectInfo for this Polygon.
- class keysight.ads.de.db_uu.PropDisplay
Bases:
TextDisplayDisplay object that displays a property value.
- class keysight.ads.de.db_uu.Ref
Bases:
PinFigBase class for all instances and vias.
- __init__(unused: InvalidCall, *args, **kwargs) None
Return an error about attempts to initialize objects that don’t support initialization.
- property is_bound: bool
- property orient: Orientation
- class keysight.ads.de.db_uu.Shape
Bases:
PinFigBase class for shapes in a design.
- __init__(unused: InvalidCall, *args, **kwargs) None
Return an error about attempts to initialize objects that don’t support initialization.
- get_gen_polygon() GenPolygonWithHoles
- get_gen_polygon_without_arcs() GenPolygonWithHoles
- property is_closed: bool
- property is_filled: bool
- property layer: int
- property legacy_border_thickness: float | LineThickness
- property purpose: int
- class keysight.ads.de.db_uu.ShapeIter
- __init__(obj: Design)
- __init__(obj: Design, layerid_or_net_option: LayerId)
- __init__(obj: Net, layerid_or_net_option: ShapeIterNetOption)
- exclude_invisible_layers() None
- exclude_protected_layers() None
- include_annotation() None
- include_invisible_layers() None
- include_protected_layers() None
- property is_pin_or_net_iteration: bool
- limit_layer(layer: int) None
- limit_purpose(purpose: int) None
- limit_region(region: BoxF, option: LimitRegionOption) None
- limit_shapes(option: ShapeOption) None
- class keysight.ads.de.db_uu.ShapeIterNetOption
Bases:
Enum
- NET_SHAPES_ONLY = <ShapeIterNetOption.NET_SHAPES_ONLY: 0>
- PIN_AND_NET_SHAPES = <ShapeIterNetOption.PIN_AND_NET_SHAPES: 1>
- class keysight.ads.de.db_uu.StackedPCBVia
Bases:
PCBBase
- property rule_name: str
Name of the via rule that defines this via.
The name will be in the form lib_name:rule_name. This will be empty if the via was not defined by a rule.
- class keysight.ads.de.db_uu.StdVia
Bases:
ViaA standard (rectangular) OpenAccess Via.
The via is completely defined by its definition in the technology.
- class keysight.ads.de.db_uu.Term
Bases:
BlockObjectTerminals represent a logical connection points for a design.
The pins associated with terminals represent the physical connection points. The nets associated with terminals through the terminals to the parent design.
When a terminal connects to a multi-bit net, the terminal must have the same number of bits.
Terminals on a design are associated with InstTerms on an instance of that design. The association is normally done by name, but can be done by number. When terminals connect by number, all terminals on the design must connect by number.
- __init__(net: Net, name: str, term_type: TermType = TermType.INPUT_OUTPUT, *, number: int = 0) None
__init__ is deprecated, and will be removed in the 2025 Update 2 release. Use: Term.create
- static create(net: Net, name: str, term_type: TermType = TermType.INPUT_OUTPUT, *, number: int = 0) Term
- create_connect_def(net_expression: str) None
- property is_implicit: bool
- property name: str
- property number: int
By default, terminals connect by name and this number is 0.
If the number is greater than zero, it represents the netlisting order for this terminal.
- property parameters: ParamBaseCollection
- property ref_plane_shift_dbu: float
- property ref_plane_shift_meters: float
- class keysight.ads.de.db_uu.Text
Bases:
TextBase
- __init__(design: Design, layer_id: LayerId, text: str, origin: PointF | tuple[float, float], font_name: str, height: float, align: TextAlignment = TextAlignment.CENTER_LEFT, orient: Orientation = Orientation.R0, has_overbar: bool = False, is_visible: bool = True, is_drafting: bool = True) None
- property alignment: TextAlignment
- property has_overbar: bool
- property is_drafting: bool
- property is_visible: bool
- property orientation: Orientation
- property text_string: str
- class keysight.ads.de.db_uu.TextAttributes
- property alignment: TextAlignment
- property font_name: str
- property has_overbar: bool
- property height_dbu: int
- property is_drafting: bool
- property is_visible: bool
- property orientation: Orientation
- class keysight.ads.de.db_uu.TextBase
Bases:
ShapeBase class for text shapes in a design.
- property font_name: str
- property text_height: float
- property text_string: str
- property unevaluated_text: str
- class keysight.ads.de.db_uu.TextDisplay
Bases:
TextBaseBase class for all types of text display objects.
- property alignment: TextAlignment
- property format: TextDisplayFormat
- property has_overbar: bool
- property is_drafting: bool
- property is_visible: bool
- property orientation: Orientation
- class keysight.ads.de.db_uu.TextOverride
Bases:
TextDisplayA text object that supports overriding text from an instance master.
- class keysight.ads.de.db_uu.Via
Bases:
RefBase class for OpenAccess Vias.
A via represents a physical connection between traces (also PathSegs and Rountes) that are on two different layers. Vias are defined by a definition in the technology.
- property name: str
The name from the via definition in the technology.
- class keysight.ads.de.db_uu.ViaElement
- __init__() None
- add_via_name(name: str) None
- add_via_names(names: Sequence[str]) None
- clear_vias() None
- property is_empty: bool
- property via_names: list[str]
- class keysight.ads.de.db_uu.ViaIter
- __init__(obj: Design) None
- __init__(obj: Net, options: ViaIterNetOptions) None
Enumerated Types
- class keysight.ads.de.db_uu.LimitRegionOption
Bases:
Enum
- REGION_MUST_TOUCH_ACTUAL_OBJECT = <LimitRegionOption.REGION_MUST_TOUCH_ACTUAL_OBJECT: 1>
- REGION_MUST_TOUCH_OBJECT_EDGE = <LimitRegionOption.REGION_MUST_TOUCH_OBJECT_EDGE: 2>
- REGION_MUST_CONTAIN_OBJECT = <LimitRegionOption.REGION_MUST_CONTAIN_OBJECT: 0>
- REGION_MAY_TOUCH_ONLY_BOUNDING_BOX = <LimitRegionOption.REGION_MAY_TOUCH_ONLY_BOUNDING_BOX: 3>
Functions
- keysight.ads.de.db_uu.create_layout(name: CellviewRefLike) Design
Create a layout from an open library in the active workspace.
- Parameters:
name (CellviewRefLike) – The name of the design, usually of the form “LibraryName:CellName:layout”
Example
>>> design = de.db_uu.create_layout(name=("test_lib", "test_2", "layout"))
- keysight.ads.de.db_uu.create_schematic(name: CellviewRefLike) Design
Create a schematic from an open library in the active workspace.
- Parameters:
name (CellviewRefLike) – The name of the design, usually of the form “LibraryName:CellName:schematic”
Example
>>> design = de.db_uu.create_layout(name=("test_lib", "test_1", "schematic"))
- keysight.ads.de.db_uu.create_symbol(name: CellviewRefLike) Design
Create a symbol from an open library in the active workspace.
- Parameters:
name (CellviewRefLike) – The name of the design, usually of the form “LibraryName:CellName:symbol”
Example
>>> design = de.db_uu.create_symbol(name=("test_lib", "test_1", "symbol"))
- keysight.ads.de.db_uu.get_view_name_for_sub_design(instance: Instance, view: View | None = None) str
- keysight.ads.de.db_uu.open_design(name: CellviewRefLike, mode: DesignMode = DesignMode.READ_ONLY) Design
Open a design from an open library in the active workspace.
- Parameters:
name (CellviewRefLike) – The name of the design, usually of the form “LibraryName:CellName:schematic”
mode (DesignMode) – Specifies the mode in which the design is returned. Defaults to read-only mode.
Example
>>> design = de.db_uu.open_design(name=("LPFoptim_lib", "LPF1Hz", "schematic"))