ansys-edb-core 0.2.0.dev3__tar.gz → 0.2.0.dev4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (141) hide show
  1. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/PKG-INFO +2 -2
  2. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/pyproject.toml +2 -2
  3. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/definition/component_def.py +92 -1
  4. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/definition/component_model.py +57 -2
  5. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/definition/padstack_def_data.py +3 -1
  6. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/hierarchy/group.py +8 -4
  7. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/inner/conn_obj.py +10 -0
  8. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/inner/factory.py +2 -2
  9. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/inner/messages.py +8 -0
  10. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/inner/parser.py +1 -1
  11. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/inner/rpc_info.py +9 -0
  12. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/primitive/padstack_instance.py +2 -1
  13. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/primitive/rectangle.py +2 -1
  14. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/simulation_setup/simulation_setup.py +85 -41
  15. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/simulation_setup/siwave_simulation_settings.py +8 -8
  16. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/terminal/bundle_terminal.py +1 -1
  17. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/terminal/edge_terminal.py +2 -2
  18. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/LICENSE +0 -0
  19. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/README.rst +0 -0
  20. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/__init__.py +0 -0
  21. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/database.py +0 -0
  22. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/definition/__init__.py +0 -0
  23. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/definition/bondwire_def.py +0 -0
  24. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/definition/component_pin.py +0 -0
  25. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/definition/component_property.py +0 -0
  26. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/definition/dataset_def.py +0 -0
  27. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/definition/debye_model.py +0 -0
  28. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/definition/die_property.py +0 -0
  29. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/definition/dielectric_material_model.py +0 -0
  30. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/definition/djordjecvic_sarkar_model.py +0 -0
  31. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/definition/ic_component_property.py +0 -0
  32. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/definition/io_component_property.py +0 -0
  33. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/definition/material_def.py +0 -0
  34. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/definition/material_property_thermal_modifier.py +0 -0
  35. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/definition/multipole_debye_model.py +0 -0
  36. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/definition/package_def.py +0 -0
  37. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/definition/padstack_def.py +0 -0
  38. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/definition/port_property.py +0 -0
  39. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/definition/rlc_component_property.py +0 -0
  40. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/definition/solder_ball_property.py +0 -0
  41. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/edb_defs.py +0 -0
  42. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/geometry/__init__.py +0 -0
  43. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/geometry/arc_data.py +0 -0
  44. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/geometry/point3d_data.py +0 -0
  45. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/geometry/point_data.py +0 -0
  46. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/geometry/polygon_data.py +0 -0
  47. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/geometry/r_tree.py +0 -0
  48. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/geometry/triangle3d_data.py +0 -0
  49. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/hierarchy/__init__.py +0 -0
  50. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/hierarchy/cell_instance.py +0 -0
  51. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/hierarchy/component_group.py +0 -0
  52. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/hierarchy/hierarchy_obj.py +0 -0
  53. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/hierarchy/inst_array.py +0 -0
  54. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/hierarchy/layout_component.py +0 -0
  55. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/hierarchy/model.py +0 -0
  56. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/hierarchy/netlist_model.py +0 -0
  57. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/hierarchy/pin_group.py +0 -0
  58. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/hierarchy/pin_pair_model.py +0 -0
  59. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/hierarchy/sparameter_model.py +0 -0
  60. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/hierarchy/spice_model.py +0 -0
  61. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/hierarchy/structure3d.py +0 -0
  62. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/hierarchy/via_group.py +0 -0
  63. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/inner/__init__.py +0 -0
  64. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/inner/base.py +0 -0
  65. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/inner/decorators.py +0 -0
  66. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/inner/edb_logging.py +0 -0
  67. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/inner/exceptions.py +0 -0
  68. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/inner/interceptors.py +0 -0
  69. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/inner/layout_obj.py +0 -0
  70. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/inner/rpc_info_utils.py +0 -0
  71. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/inner/utils.py +0 -0
  72. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/inner/variable_server.py +0 -0
  73. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/layer/__init__.py +0 -0
  74. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/layer/layer.py +0 -0
  75. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/layer/layer_collection.py +0 -0
  76. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/layer/stackup_layer.py +0 -0
  77. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/layer/via_layer.py +0 -0
  78. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/layout/__init__.py +0 -0
  79. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/layout/cell.py +0 -0
  80. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/layout/layout.py +0 -0
  81. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/layout/mcad_model.py +0 -0
  82. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/layout/voltage_regulator.py +0 -0
  83. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/layout_instance/__init__.py +0 -0
  84. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/layout_instance/layout_instance.py +0 -0
  85. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/layout_instance/layout_instance_context.py +0 -0
  86. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/layout_instance/layout_obj_instance.py +0 -0
  87. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/layout_instance/layout_obj_instance_2d_geometry.py +0 -0
  88. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/layout_instance/layout_obj_instance_3d_geometry.py +0 -0
  89. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/layout_instance/layout_obj_instance_geometry.py +0 -0
  90. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/net/__init__.py +0 -0
  91. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/net/differential_pair.py +0 -0
  92. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/net/extended_net.py +0 -0
  93. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/net/net.py +0 -0
  94. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/net/net_class.py +0 -0
  95. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/primitive/__init__.py +0 -0
  96. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/primitive/board_bend_def.py +0 -0
  97. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/primitive/bondwire.py +0 -0
  98. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/primitive/circle.py +0 -0
  99. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/primitive/path.py +0 -0
  100. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/primitive/polygon.py +0 -0
  101. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/primitive/primitive.py +0 -0
  102. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/primitive/primitive_instance_collection.py +0 -0
  103. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/primitive/text.py +0 -0
  104. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/session.py +0 -0
  105. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/simulation_setup/__init__.py +0 -0
  106. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/simulation_setup/adaptive_solutions.py +0 -0
  107. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/simulation_setup/hfss_pi_simulation_settings.py +0 -0
  108. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/simulation_setup/hfss_pi_simulation_setup.py +0 -0
  109. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/simulation_setup/hfss_simulation_settings.py +0 -0
  110. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/simulation_setup/hfss_simulation_setup.py +0 -0
  111. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/simulation_setup/mesh_operation.py +0 -0
  112. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/simulation_setup/q3d_simulation_settings.py +0 -0
  113. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/simulation_setup/q3d_simulation_setup.py +0 -0
  114. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/simulation_setup/raptor_x_simulation_settings.py +0 -0
  115. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/simulation_setup/raptor_x_simulation_setup.py +0 -0
  116. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/simulation_setup/simulation_settings.py +0 -0
  117. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/simulation_setup/siwave_dcir_simulation_settings.py +0 -0
  118. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/simulation_setup/siwave_dcir_simulation_setup.py +0 -0
  119. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/simulation_setup/siwave_simulation_setup.py +0 -0
  120. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/terminal/__init__.py +0 -0
  121. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/terminal/padstack_instance_terminal.py +0 -0
  122. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/terminal/pin_group_terminal.py +0 -0
  123. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/terminal/point_terminal.py +0 -0
  124. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/terminal/terminal.py +0 -0
  125. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/terminal/terminal_instance.py +0 -0
  126. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/terminal/terminal_instance_terminal.py +0 -0
  127. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/typing/__init__.py +0 -0
  128. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/utility/__init__.py +0 -0
  129. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/utility/conversions.py +0 -0
  130. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/utility/edb_error_manager.py +0 -0
  131. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/utility/heat_sink.py +0 -0
  132. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/utility/hfss_extent_info.py +0 -0
  133. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/utility/io_manager.py +0 -0
  134. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/utility/layer_map.py +0 -0
  135. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/utility/material_property_thermal_modifier_params.py +0 -0
  136. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/utility/port_post_processing_prop.py +0 -0
  137. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/utility/rlc.py +0 -0
  138. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/utility/temperature_settings.py +0 -0
  139. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/utility/transform.py +0 -0
  140. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/utility/transform3d.py +0 -0
  141. {ansys_edb_core-0.2.0.dev3 → ansys_edb_core-0.2.0.dev4}/src/ansys/edb/core/utility/value.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ansys-edb-core
3
- Version: 0.2.0.dev3
3
+ Version: 0.2.0.dev4
4
4
  Summary: A python wrapper for Ansys Edb service
5
5
  Author-email: "ANSYS, Inc." <pyansys.support@ansys.com>
6
6
  Maintainer-email: PyAnsys developers <pyansys.maintainers@ansys.com>
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 3.8
15
15
  Classifier: Programming Language :: Python :: 3.9
16
16
  Classifier: Programming Language :: Python :: 3.10
17
17
  License-File: LICENSE
18
- Requires-Dist: ansys-api-edb==0.2.dev4
18
+ Requires-Dist: ansys-api-edb==0.2.dev6
19
19
  Requires-Dist: protobuf>=3.19.3,<5
20
20
  Requires-Dist: grpcio>=1.44.0
21
21
  Requires-Dist: Django>=4.2.16
@@ -5,7 +5,7 @@ build-backend = "flit_core.buildapi"
5
5
  [project]
6
6
  # Check https://flit.readthedocs.io/en/latest/pyproject_toml.html for all available sections
7
7
  name = "ansys-edb-core"
8
- version = "0.2.0.dev3"
8
+ version = "0.2.0.dev4"
9
9
  description = "A python wrapper for Ansys Edb service"
10
10
  readme = "README.rst"
11
11
  requires-python = ">=3.8"
@@ -25,7 +25,7 @@ classifiers = [
25
25
 
26
26
 
27
27
  dependencies = [
28
- "ansys-api-edb==0.2.dev4",
28
+ "ansys-api-edb==0.2.dev6",
29
29
  "protobuf>=3.19.3,<5",
30
30
  "grpcio>=1.44.0",
31
31
  "Django>=4.2.16"
@@ -1,9 +1,23 @@
1
1
  """Component definition."""
2
+ from __future__ import annotations
3
+
4
+ from typing import TYPE_CHECKING, List
5
+
6
+ if TYPE_CHECKING:
7
+ from src.ansys.edb.core.database import ProductIdType
8
+
2
9
  from ansys.api.edb.v1.component_def_pb2_grpc import ComponentDefServiceStub
3
10
 
4
11
  from ansys.edb.core.definition import component_model, component_pin
5
12
  from ansys.edb.core.edb_defs import DefinitionObjType
6
13
  from ansys.edb.core.inner import ObjBase, messages
14
+ from ansys.edb.core.inner.messages import (
15
+ edb_obj_collection_property_message,
16
+ edb_obj_pair_message,
17
+ get_product_property_ids_message,
18
+ get_product_property_message,
19
+ set_product_property_message,
20
+ )
7
21
  from ansys.edb.core.inner.utils import map_list
8
22
  from ansys.edb.core.session import StubAccessor, StubType
9
23
 
@@ -87,7 +101,7 @@ class ComponentDef(ObjBase):
87
101
  This property is read-only.
88
102
  """
89
103
  objs = self.__stub.GetComponentModels(self.msg).items
90
- return map_list(objs, component_model.ComponentModel)
104
+ return map_list(objs, lambda msg: component_model.ComponentModel(msg).cast())
91
105
 
92
106
  @property
93
107
  def component_pins(self):
@@ -125,3 +139,80 @@ class ComponentDef(ObjBase):
125
139
  Once a component model is added to one component def, it cannot be added to any other, even when removed.
126
140
  """
127
141
  self.__stub.RemoveComponentModel(messages.pointer_property_message(self, value))
142
+
143
+ def reorder_pins(self, reordered_pins: List[component_pin.ComponentPin]):
144
+ """Reorders the existing pins in the components definition to be in the same order \
145
+ as in the provided list.
146
+
147
+ Parameters
148
+ ----------
149
+ reordered_pins : list of .ComponentPin
150
+ The component pins in the new order. These must be the same pins \
151
+ that already exist in the component definition.
152
+ """
153
+ self.__stub.ReorderPins(edb_obj_collection_property_message(self, reordered_pins))
154
+
155
+ def remove_pin(self, pin_to_remove: component_pin.ComponentPin):
156
+ """Remove the provided component pin from the component definition. \
157
+ the pin will be deleted and set to :meth:`null <.is_null>`.
158
+
159
+ Parameters
160
+ ----------
161
+ pin_to_remove : .ComponentPin
162
+ The pin to be removed.
163
+ """
164
+ self.__stub.RemovePin(edb_obj_pair_message(self, pin_to_remove))
165
+ pin_to_remove.msg = None
166
+
167
+ def get_product_property(self, prod_id: ProductIdType, attr_it: int) -> str:
168
+ """Get the product property for a given product ID and attribute ID.
169
+
170
+ Parameters
171
+ ----------
172
+ prod_id : .ProductIdType
173
+ Product ID.
174
+ attr_it : int
175
+ Attribute ID.
176
+
177
+ Returns
178
+ -------
179
+ str
180
+ Product property for the given product ID and attribute ID.
181
+ """
182
+ return self.__stub.GetProductProperty(
183
+ get_product_property_message(self, prod_id, attr_it)
184
+ ).value
185
+
186
+ def set_product_property(self, prod_id: ProductIdType, attr_it: int, prop_value: str):
187
+ """Set the product property for the given product ID and attribute ID.
188
+
189
+ Parameters
190
+ ----------
191
+ prod_id : .ProductIdType
192
+ Product ID.
193
+ attr_it : int
194
+ Attribute ID.
195
+ prop_value : str
196
+ New value for the product property.
197
+ """
198
+ self.__stub.SetProductProperty(
199
+ set_product_property_message(self, prod_id, attr_it, prop_value)
200
+ )
201
+
202
+ def get_product_property_ids(self, prod_id: ProductIdType) -> List[int]:
203
+ """Get the list of property IDs for a given property ID.
204
+
205
+ Parameters
206
+ ----------
207
+ prod_id : ProductIdType
208
+ Product ID.
209
+
210
+ Returns
211
+ -------
212
+ list[int]
213
+ Attribute IDs for the given product ID.
214
+ """
215
+ attr_ids = self.__stub.GetProductPropertyIds(
216
+ get_product_property_ids_message(self, prod_id)
217
+ ).ids
218
+ return [attr_id for attr_id in attr_ids]
@@ -1,4 +1,7 @@
1
1
  """Component model definition."""
2
+ from enum import Enum
3
+
4
+ from ansys.api.edb.v1.component_model_pb2 import ComponentModelType as pb_comp_model_Type
2
5
  from ansys.api.edb.v1.component_model_pb2_grpc import (
3
6
  ComponentModelServiceStub,
4
7
  DynamicLinkComponentModelServiceStub,
@@ -10,6 +13,14 @@ from ansys.edb.core.inner import ObjBase, messages
10
13
  from ansys.edb.core.session import StubAccessor, StubType
11
14
 
12
15
 
16
+ class ComponentModelType(Enum):
17
+ """Enum representing component model types."""
18
+
19
+ N_PORT = pb_comp_model_Type.N_PORT
20
+ DYNAMIC_LINK = pb_comp_model_Type.DYNAMIC_LINK
21
+ UNKNOWN_COMPONENT_MODEL_TYPE = pb_comp_model_Type.UNKNOWN_MODEL_TYPE
22
+
23
+
13
24
  class ComponentModel(ObjBase):
14
25
  """Represents a component model."""
15
26
 
@@ -42,7 +53,7 @@ class ComponentModel(ObjBase):
42
53
  """
43
54
  return ComponentModel(
44
55
  cls.__stub.FindByName(messages.string_property_message(comp_def, value))
45
- )
56
+ ).cast()
46
57
 
47
58
  @classmethod
48
59
  def find_by_id(cls, comp_def, value):
@@ -60,7 +71,51 @@ class ComponentModel(ObjBase):
60
71
  ComponentModel
61
72
  Component model that is found, ``None`` otherwise.
62
73
  """
63
- return ComponentModel(cls.__stub.FindById(messages.int_proprty_message(comp_def, value)))
74
+ return ComponentModel(
75
+ cls.__stub.FindById(messages.int_property_message(comp_def, value))
76
+ ).cast()
77
+
78
+ @property
79
+ def name(self) -> str:
80
+ """:obj:`str`: The name of the component model.
81
+
82
+ This property is read-only.
83
+ """
84
+ return self.__stub.GetName(self.msg).value
85
+
86
+ @property
87
+ def component_model_type(self) -> ComponentModelType:
88
+ """:class:`.ComponentModelType`: The type of the component model.
89
+
90
+ This property is read-only.
91
+ """
92
+ return ComponentModelType(self.__stub.GetType(self.msg).type)
93
+
94
+ @property
95
+ def component_model_id(self) -> int:
96
+ """:obj:`int`: The id of the component model.
97
+
98
+ This property is read-only.
99
+ """
100
+ return self.__stub.GetId(self.msg).value
101
+
102
+ def cast(self) -> "ComponentModel":
103
+ """Cast the component model object to the correct concrete type.
104
+
105
+ Returns
106
+ -------
107
+ .ComponentModel
108
+ """
109
+ comp_model_type = (
110
+ ComponentModelType.UNKNOWN_COMPONENT_MODEL_TYPE
111
+ if self.is_null
112
+ else self.component_model_type
113
+ )
114
+ if comp_model_type == ComponentModelType.N_PORT:
115
+ return NPortComponentModel(self.msg)
116
+ elif comp_model_type == ComponentModelType.DYNAMIC_LINK:
117
+ return DynamicLinkComponentModel(self.msg)
118
+ return ComponentModel(self.msg)
64
119
 
65
120
 
66
121
  class NPortComponentModel(ComponentModel):
@@ -189,13 +189,15 @@ class PadstackDefData(ObjBase):
189
189
  Value(message.generic.offset_y),
190
190
  Value(message.generic.rotation),
191
191
  )
192
- else:
192
+ elif message.HasField("polygon"):
193
193
  return (
194
194
  parser.to_polygon_data(message.polygon.fp),
195
195
  Value(message.polygon.offset_x),
196
196
  Value(message.polygon.offset_y),
197
197
  Value(message.polygon.rotation),
198
198
  )
199
+ else:
200
+ return ()
199
201
 
200
202
  def set_pad_parameters(
201
203
  self, layer, pad_type, offset_x, offset_y, rotation, type_geom=None, sizes=None, fp=None
@@ -6,6 +6,7 @@ from ansys.api.edb.v1.group_pb2_grpc import GroupServiceStub
6
6
  from ansys.edb.core.edb_defs import LayoutObjType
7
7
  from ansys.edb.core.hierarchy.hierarchy_obj import HierarchyObj
8
8
  from ansys.edb.core.inner import messages
9
+ from ansys.edb.core.inner.utils import query_lyt_object_collection
9
10
  from ansys.edb.core.session import StubAccessor, StubType
10
11
 
11
12
 
@@ -113,7 +114,10 @@ class Group(HierarchyObj):
113
114
 
114
115
  This property is read-only.
115
116
  """
116
- from ansys.edb.core.inner import factory
117
-
118
- objs = self.__stub.GetMembers(self.msg).items
119
- return [factory.create_conn_obj(co) for co in objs]
117
+ return query_lyt_object_collection(
118
+ self,
119
+ LayoutObjType.INVALID_LAYOUT_OBJ,
120
+ self.__stub.GetMembers,
121
+ self.__stub.StreamMembers,
122
+ False,
123
+ )
@@ -3,6 +3,7 @@ from ansys.api.edb.v1 import connectable_pb2
3
3
 
4
4
  from ansys.edb.core.edb_defs import LayoutObjType
5
5
  from ansys.edb.core.inner import layout_obj, messages
6
+ from ansys.edb.core.inner.factory import create_lyt_obj
6
7
  from ansys.edb.core.layout import mcad_model as mm
7
8
  from ansys.edb.core.session import ConnectableServiceStub, StubAccessor, StubType
8
9
 
@@ -48,6 +49,15 @@ class ConnObj(layout_obj.LayoutObj):
48
49
  return client_obj
49
50
  return cls(None)
50
51
 
52
+ def cast(self):
53
+ """Cast the ConnObj object to the correct concrete type.
54
+
55
+ Returns
56
+ -------
57
+ .ConnObj
58
+ """
59
+ return create_lyt_obj(self.msg, self.obj_type)
60
+
51
61
  @property
52
62
  def obj_type(self):
53
63
  """:class:`LayoutObjType <ansys.edb.core.edb_defs.LayoutObjType>`: Layout object type.
@@ -43,7 +43,7 @@ def _initialize_type_creator_params_dict():
43
43
  LayoutObjType.EXTENDED_NET: _CreatorParams(ExtendedNet),
44
44
  LayoutObjType.DIFFERENTIAL_PAIR: _CreatorParams(DifferentialPair),
45
45
  LayoutObjType.NET: _CreatorParams(Net),
46
- LayoutObjType.INVALID_LAYOUT_OBJ: _CreatorParams(ConnObj),
46
+ LayoutObjType.INVALID_LAYOUT_OBJ: _CreatorParams(ConnObj, True),
47
47
  }
48
48
  return _type_creator_params_dict
49
49
 
@@ -158,4 +158,4 @@ def create_conn_obj(msg):
158
158
  -------
159
159
  ansys.edb.core.inner.ConnObj
160
160
  """
161
- return create_lyt_obj(msg, create_lyt_obj(msg, LayoutObjType.INVALID_LAYOUT_OBJ).obj_type)
161
+ return create_lyt_obj(msg, LayoutObjType.INVALID_LAYOUT_OBJ)
@@ -34,6 +34,7 @@ from ansys.api.edb.v1.edb_messages_pb2 import (
34
34
  DoublesPropertyMessage,
35
35
  EDBInternalIdMessage,
36
36
  EDBObjCollectionMessage,
37
+ EDBObjCollectionPropertyMessage,
37
38
  EDBObjMessage,
38
39
  EDBObjNameMessage,
39
40
  EDBObjPairMessage,
@@ -1383,6 +1384,13 @@ def broadband_solution_msg(broadband_adapt_sol):
1383
1384
  )
1384
1385
 
1385
1386
 
1387
+ def edb_obj_collection_property_message(target, edb_objs):
1388
+ """Convert to a ``EDBObjCollectionPropertyMessage`` object."""
1389
+ return EDBObjCollectionPropertyMessage(
1390
+ target=target.msg, edb_objs=edb_obj_collection_message(edb_objs)
1391
+ )
1392
+
1393
+
1386
1394
  def _as_array(array_or_item):
1387
1395
  try:
1388
1396
  iter(array_or_item)
@@ -507,4 +507,4 @@ def _to_mesh_op(message):
507
507
 
508
508
  def _to_string_dict(message):
509
509
  """Convert a message to a dictionary of strings."""
510
- return {key: value for (key, value) in message.string_map}
510
+ return {key: value for (key, value) in message.string_map.items()}
@@ -177,6 +177,11 @@ rpc_information = {
177
177
  "StreamComponentPins": _RpcInfo(read_no_cache=True),
178
178
  "AddComponentModel": _RpcInfo(buffer=True),
179
179
  "RemoveComponentModel": _RpcInfo(buffer=True),
180
+ "ReorderPins": _RpcInfo(buffer=True),
181
+ "RemovePin": _RpcInfo(buffer=True),
182
+ "GetProductProperty": _RpcInfo(cache=True),
183
+ "SetProductProperty": _RpcInfo(buffer=True),
184
+ "GetProductPropertyIds": _RpcInfo(cache=True),
180
185
  },
181
186
  "ansys.api.edb.v1.ComponentGroupService": {
182
187
  "Create": _RpcInfo(buffer=True, returns_future=True),
@@ -192,6 +197,9 @@ rpc_information = {
192
197
  "GetReferenceFile": _RpcInfo(cache=True),
193
198
  "FindByName": _RpcInfo(cache=True),
194
199
  "FindById": _RpcInfo(cache=True),
200
+ "GetName": _RpcInfo(cache=True),
201
+ "GetType": _RpcInfo(cache=True),
202
+ "GetId": _RpcInfo(cache=True),
195
203
  },
196
204
  "ansys.api.edb.v1.NPortComponentModelService": {
197
205
  "Create": _RpcInfo(buffer=True, returns_future=True, write_no_cache_invalidation=True)
@@ -1040,6 +1048,7 @@ rpc_information = {
1040
1048
  "GetParameters": _RpcInfo(cache=True),
1041
1049
  "SetParameters": _RpcInfo(buffer=True),
1042
1050
  "Render": _RpcInfo(cache=True),
1051
+ "GetPolygonData": _RpcInfo(cache=True),
1043
1052
  },
1044
1053
  "ansys.api.edb.v1.RLCComponentPropertyService": {
1045
1054
  "Create": _RpcInfo(buffer=True, returns_future=True, write_no_cache_invalidation=True),
@@ -200,7 +200,8 @@ class PadstackInstance(conn_obj.ConnObj):
200
200
  @property
201
201
  def solderball_layer(self):
202
202
  """:class:`.Layer`: Solderball layer of the padstack instance."""
203
- return Layer(self.__stub.GetSolderBallLayer(self.msg)).cast()
203
+ sb_layer = Layer(self.__stub.GetSolderBallLayer(self.msg))
204
+ return sb_layer if sb_layer.is_null() else sb_layer.cast()
204
205
 
205
206
  @solderball_layer.setter
206
207
  def solderball_layer(self, solderball_layer):
@@ -162,13 +162,14 @@ class Rectangle(Primitive):
162
162
  return True
163
163
 
164
164
  @property
165
+ @parser.to_polygon_data
165
166
  def polygon_data(self):
166
167
  """:class:`.PolygonData`: \
167
168
  Polygon data object of the rectangle.
168
169
 
169
170
  This property is read-only.
170
171
  """
171
- return Rectangle.render(*self.get_parameters())
172
+ return self.__stub.GetPolygonData(self.msg)
172
173
 
173
174
  @classmethod
174
175
  @parser.to_polygon_data
@@ -1,6 +1,7 @@
1
1
  """Simulation Setup."""
2
2
 
3
3
  from enum import Enum
4
+ from typing import List, Union
4
5
 
5
6
  from ansys.api.edb.v1 import edb_defs_pb2
6
7
  from ansys.api.edb.v1.simulation_setup_pb2 import (
@@ -38,6 +39,16 @@ class FreqSweepType(Enum):
38
39
  BROADBAND_SWEEP = edb_defs_pb2.BROADBAND_SWEEP
39
40
 
40
41
 
42
+ class Distribution(Enum):
43
+ """Enum representing frequency distribution types."""
44
+
45
+ LIN = "LIN"
46
+ LINC = "LINC"
47
+ ESTP = "ESTP"
48
+ DEC = "DEC"
49
+ OCT = "OCT"
50
+
51
+
41
52
  class HFSSRegionComputeResource:
42
53
  """Class representing HFSS region computation resources.
43
54
 
@@ -114,21 +125,64 @@ class InterpolatingSweepData:
114
125
  self.min_solutions = 0
115
126
 
116
127
 
117
- class SweepData:
118
- r"""Class representing a sweep data setting.
128
+ class FrequencyData:
129
+ r"""Class representing a frequency setting.
119
130
 
120
131
  Attributes
121
132
  ----------
122
- name : str
123
- Name of this sweep.
124
- distribution : str
133
+ distribution : .Distribution
125
134
  Sweep distribution type (see table below).
126
135
  start_f : str
127
136
  Start frequency is number with optional frequency units.
128
137
  end_f : str
129
138
  End frequency is number with optional frequency units.
130
139
  step : str
131
- Step is either frequency with optional frequency units or an integer when a count is needed.
140
+ Step is either frequency with optional frequency units or an integer
141
+
142
+ Notes
143
+ -----
144
+ Here are the choices for the distribution parameter:
145
+
146
+ .. list-table:: Values for distribution parameter
147
+ :widths: 20 45 25
148
+ :header-rows: 1
149
+
150
+ * - Distribution
151
+ - Description
152
+ - Example
153
+ * - LIN
154
+ - linear (start, stop, step)
155
+ - LIN 2GHz 4GHz 100MHz or LIN 1dBm 10dBm 1dB
156
+ * - LINC
157
+ - linear (start, stop, count)
158
+ - LINC 2GHz 4GHz 11
159
+ * - ESTP
160
+ - Exponential step (start, stop, count)
161
+ - ESTP 2MHz 10MHz 3
162
+ * - DEC
163
+ - decade (start, stop, number of decades)
164
+ - DEC 10KHz 10GHz 6
165
+ * - OCT
166
+ - octave (start, stop, number of octaves)
167
+ - OCT 10MHz 160MHz 5
168
+
169
+ """
170
+
171
+ def __init__(self, distribution: Distribution, start_f: str, end_f: str, step: str):
172
+ """Initialize a frequency setting."""
173
+ self.distribution = distribution
174
+ self.start_f = start_f
175
+ self.end_f = end_f
176
+ self.step = step
177
+
178
+
179
+ class SweepData:
180
+ r"""Class representing a sweep data setting.
181
+
182
+ Attributes
183
+ ----------
184
+ name : str
185
+ Name of this sweep.
132
186
  enabled : bool
133
187
  True if this is enabled.
134
188
  type : FreqSweepType
@@ -171,43 +225,14 @@ class SweepData:
171
225
  Stop meshing frequency.
172
226
  interpolation_data : InterpolatingSweepData
173
227
  Data for interpolating frequency sweeps.
174
-
175
- Notes
176
- -----
177
- Here are the choices for the distribution parameter:
178
-
179
- .. list-table:: Values for distribution parameter
180
- :widths: 20 45 25
181
- :header-rows: 1
182
-
183
- * - Distribution
184
- - Description
185
- - Example
186
- * - LIN
187
- - linear (start, stop, step)
188
- - LIN 2GHz 4GHz 100MHz or LIN 1dBm 10dBm 1dB
189
- * - LINC
190
- - linear (start, stop, count)
191
- - LINC 2GHz 4GHz 11
192
- * - ESTP
193
- - Exponential step (start, stop, count)
194
- - ESTP 2MHz 10MHz 3
195
- * - DEC
196
- - decade (start, stop, number of decades)
197
- - DEC 10KHz 10GHz 6
198
- * - OCT
199
- - octave (start, stop, number of octaves)
200
- - OCT 10MHz 160MHz 5
228
+ frequency_data : .FrequencyData or list of .FrequencyData
229
+ List of frequency data.
201
230
 
202
231
  """
203
232
 
204
- def __init__(self, name, distribution, start_f, end_f, step):
233
+ def __init__(self, name: str, frequency_data: Union[FrequencyData, List[FrequencyData]]):
205
234
  """Initialize a sweep data setting."""
206
235
  self.name = name
207
- self.distribution = distribution
208
- self.start_f = start_f
209
- self.end_f = end_f
210
- self.step = step
211
236
  self.enabled = True
212
237
  self.type = FreqSweepType.INTERPOLATING_SWEEP
213
238
  self.use_q3d_for_dc = False
@@ -229,11 +254,24 @@ class SweepData:
229
254
  self.mesh_freq_range_start = "-1.0"
230
255
  self.mesh_freq_range_stop = "-1.0"
231
256
  self.interpolation_data = InterpolatingSweepData()
257
+ self.frequency_data = frequency_data
232
258
 
233
259
  @property
234
260
  def frequency_string(self):
235
- """:obj:`str`: String representing the frequency sweep data."""
236
- return self.distribution + " " + self.start_f + " " + self.end_f + " " + self.step
261
+ """:obj:`str`: String representing the frequency sweep data.
262
+
263
+ This property is read-only.
264
+ """
265
+ frequencies = []
266
+ if isinstance(self.frequency_data, FrequencyData):
267
+ frequencies.append(self.frequency_data)
268
+ elif isinstance(self.frequency_data, list):
269
+ frequencies = self.frequency_data
270
+
271
+ freq_str = ""
272
+ for freq in frequencies:
273
+ freq_str += f"{freq.distribution.value} {freq.start_f} {freq.end_f} {freq.step}\t\n"
274
+ return freq_str
237
275
 
238
276
 
239
277
  def _hfss_region_compute_resource_message(res):
@@ -332,7 +370,13 @@ def _msg_to_sweep_data(msg):
332
370
  """Create a ``SweepData`` from a ``SweepDataMessage``."""
333
371
  freq_str_params = msg.frequency_string.split()
334
372
  sweep_data = SweepData(
335
- msg.name, freq_str_params[0], freq_str_params[1], freq_str_params[2], freq_str_params[3]
373
+ msg.name,
374
+ FrequencyData(
375
+ Distribution[freq_str_params[0]],
376
+ freq_str_params[1],
377
+ freq_str_params[2],
378
+ freq_str_params[3],
379
+ ),
336
380
  )
337
381
  sweep_data.enabled = msg.enabled
338
382
  sweep_data.type = FreqSweepType(msg.type)
@@ -114,7 +114,7 @@ class SIWaveGeneralSettings(SimulationSettingsBase):
114
114
 
115
115
  @si_slider_pos.setter
116
116
  def si_slider_pos(self, si_slider_pos):
117
- self.__stub.SetSISliderPos(messages.int_property_message(self, si_slider_pos))
117
+ self.__stub.SetSISliderPos(messages.uint64_property_message(self, si_slider_pos))
118
118
 
119
119
  @property
120
120
  def pi_slider_pos(self):
@@ -123,7 +123,7 @@ class SIWaveGeneralSettings(SimulationSettingsBase):
123
123
 
124
124
  @pi_slider_pos.setter
125
125
  def pi_slider_pos(self, pi_slider_pos):
126
- self.__stub.SetPISliderPos(messages.int_property_message(self, pi_slider_pos))
126
+ self.__stub.SetPISliderPos(messages.uint64_property_message(self, pi_slider_pos))
127
127
 
128
128
 
129
129
  class SIWaveAdvancedSettings(SimulationSettingsBase):
@@ -388,7 +388,7 @@ class SIWaveDCSettings(SimulationSettingsBase):
388
388
 
389
389
  @dc_slider_pos.setter
390
390
  def dc_slider_pos(self, dc_slider_pos):
391
- self.__stub.SetDCSliderPos(messages.int_property_message(self, dc_slider_pos))
391
+ self.__stub.SetDCSliderPos(messages.uint64_property_message(self, dc_slider_pos))
392
392
 
393
393
 
394
394
  class SIWaveDCAdvancedSettings(SimulationSettingsBase):
@@ -449,7 +449,7 @@ class SIWaveDCAdvancedSettings(SimulationSettingsBase):
449
449
 
450
450
  @max_num_passes.setter
451
451
  def max_num_passes(self, max_num_passes):
452
- self.__stub.SetMaxNumPasses(messages.int_property_message(self, max_num_passes))
452
+ self.__stub.SetMaxNumPasses(messages.uint64_property_message(self, max_num_passes))
453
453
 
454
454
  @property
455
455
  def min_num_passes(self):
@@ -458,7 +458,7 @@ class SIWaveDCAdvancedSettings(SimulationSettingsBase):
458
458
 
459
459
  @min_num_passes.setter
460
460
  def min_num_passes(self, min_num_passes):
461
- self.__stub.SetMinNumPasses(messages.int_property_message(self, min_num_passes))
461
+ self.__stub.SetMinNumPasses(messages.uint64_property_message(self, min_num_passes))
462
462
 
463
463
  @property
464
464
  def percent_local_refinement(self):
@@ -468,7 +468,7 @@ class SIWaveDCAdvancedSettings(SimulationSettingsBase):
468
468
  @percent_local_refinement.setter
469
469
  def percent_local_refinement(self, percent_local_refinement):
470
470
  self.__stub.SetPercentLocalRefinement(
471
- messages.int_property_message(self, percent_local_refinement)
471
+ messages.uint64_property_message(self, percent_local_refinement)
472
472
  )
473
473
 
474
474
  @property
@@ -523,7 +523,7 @@ class SIWaveDCAdvancedSettings(SimulationSettingsBase):
523
523
 
524
524
  @num_bw_sides.setter
525
525
  def num_bw_sides(self, num_bw_sides):
526
- self.__stub.SetNumBwSides(messages.int_property_message(self, num_bw_sides))
526
+ self.__stub.SetNumBwSides(messages.uint64_property_message(self, num_bw_sides))
527
527
 
528
528
  @property
529
529
  def num_via_sides(self):
@@ -532,7 +532,7 @@ class SIWaveDCAdvancedSettings(SimulationSettingsBase):
532
532
 
533
533
  @num_via_sides.setter
534
534
  def num_via_sides(self, num_via_sides):
535
- self.__stub.SetNumViaSides(messages.int_property_message(self, num_via_sides))
535
+ self.__stub.SetNumViaSides(messages.uint64_property_message(self, num_via_sides))
536
536
 
537
537
 
538
538
  class SIWaveSParameterSettings(SimulationSettingsBase):
@@ -28,7 +28,7 @@ class BundleTerminal(Terminal):
28
28
  @property
29
29
  def terminals(self):
30
30
  """:obj:`list` of Terminal: All terminals grouped in the terminal."""
31
- return [Terminal(msg).cast() for msg in self.__stub.GetTerminals(self.msg)]
31
+ return [Terminal(msg).cast() for msg in self.__stub.GetTerminals(self.msg).items]
32
32
 
33
33
  def ungroup(self):
34
34
  """Delete the grouping."""
@@ -46,7 +46,7 @@ class Edge(ObjBase):
46
46
 
47
47
  @property
48
48
  def _type(self):
49
- return EdgeType(self.__stub.GetType(self.msg))
49
+ return EdgeType(self.__stub.GetEdgeType(self.msg).t)
50
50
 
51
51
  @property
52
52
  def _params(self):
@@ -163,7 +163,7 @@ class EdgeTerminal(Terminal):
163
163
  @property
164
164
  def edges(self):
165
165
  """:obj:`list` of :class:`.Edge`: All edges on the terminal."""
166
- return [Edge(msg).cast() for msg in self.__stub.GetEdges(self.msg)]
166
+ return [Edge(msg).cast() for msg in self.__stub.GetEdges(self.msg).items]
167
167
 
168
168
  @edges.setter
169
169
  def edges(self, edges):