ansys / ansys/pyedb

bug in create_trace()

Open
#2,544 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
29
Forks
30
Avg merge
2d 10h
Merged PRs (30d)
49

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

In gRPC, Parameterization is lost after trace is created by create_trace()

### Steps To Reproduce

```
from pyedb import Edb

edb = Edb(version="2026.1",
# grpc=False
)

edb.stackup.create_symmetric_stackup(2)
edb.add_design_variable(
"x", "1mm"
)
edb.modeler.create_trace(
path_list=[[0,0], ["x", 0]],
width="0.1mm",
layer_name="TOP",
)
edb.save()
print(edb.edbpath)
edb.close()
```

### Which Operating System are you using?

Windows

### Which Python version are you using?

3.7

### Installed packages

ALL

Contributor guide

Open the contributing guide

Research direction

Start at the modeler.create_trace() entry point and reproduce the issue with the provided Python example on Windows. Trace how the parameterized path using design variable x is handled through trace creation and saving; done means the parameterization remains available after the trace is created and the EDB is saved.

Written by the indexing model from the issue text.

Assessment

Tech stack
grpc, python
Domain
backend-api-design
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.