ansys / ansys/pyedb-core

HFSSPISImulationSetup returned [None] from Cell

Open
#710 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
7
Forks
4
PR merge metrics
No merged PRs in 30d

Description

### 🔍 Before submitting the issue

- [x] I have searched among the existing issues
- [x] I am using a Python virtual environment

### 🐞 Description of the bug

When HFSS-PI is simulation setup is created we can't retrieve from Cell class.

``` python

core_setup = CoreHFSSPISimulationSetup.create(edb.active_cell, name)

```

Image

Simulation setup looks ok.

But accessing simulation_setups from cell returns list[None]

Image

### 📝 Steps to reproduce

NA

### 💻 Which operating system are you using?

Windows

### 📀 Which ANSYS version are you using?

_No response_

### 🐍 Which Python version are you using?

3.12

### 📦 Installed packages

```shell
NA
```

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue on Windows with Python 3.12 using CoreHFSSPISimulationSetup.create(edb.active_cell, name), then inspect the interaction with cell.simulation_setups. Compare the created HFSS-PI setup with the objects returned from Cell and add a regression test showing that the setup is returned instead of None.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend-api-design
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.