Bug located in Layer get_product_property_ids()
- 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 attempting to get_product_property_ids() on a layer to then get the product property attributes, an exception is encountered for all product ids:
InvalidArgumentException('Failed to get the product property attribute ids for product_id=0')
### 📝 Steps to reproduce
a_layer.get_product_property_ids(ProductIdType.DESIGNER)
### 💻 Which operating system are you using?
Windows
### 📀 Which ANSYS version are you using?
26.1
### 🐍 Which Python version are you using?
3.10
### 📦 Installed packages
```shell
annotated-types==0.7.0
ansys-api-edb==0.3.0
ansys-edb-core==0.3.1
ansys-pythonnet==3.1.0rc6
ansys-tools-common==0.5.0
asgiref==3.11.1
attrs==26.1.0
certifi==2026.4.22
cffi==2.0.0
cfgv==3.5.0
charset-normalizer==3.4.7
click==8.3.3
clr-loader==0.2.10
colorama==0.4.6
contourpy==1.3.2
cycler==0.12.1
defusedxml==0.7.1
distlib==0.4.0
django==5.2.13
exceptiongroup==1.3.1
execnet==2.1.2
ezdxf==1.4.3
filelock==3.29.0
fonttools==4.62.1
gdstk==0.9.62
grpcio==1.80.0
-e file:///D:/source/icsetuptoolkit
identify==2.6.19
idna==3.13
iniconfig==2.3.0
jinja2==3.1.6
joblib==1.5.3
jsonschema==4.26.0
jsonschema-specifications==2025.9.1
kiwisolver==1.5.0
markupsafe==3.0.3
matplotlib==3.10.8
nodeenv==1.10.0
numpy==2.2.6
packaging==26.0
pandas==2.3.3
pillow==12.1.1
platformdirs==4.9.6
pluggy==1.6.0
portalocker==3.2.0
pre-commit==4.6.0
protobuf==6.33.6
psutil==7.2.2
pyaedt==0.24.1
pycparser==3.0
pydantic==2.13.3
pydantic-core==2.46.3
pyedb==0.74.0
pygments==2.20.0
pyparsing==3.3.2
pyside6==6.9.3
pyside6-addons==6.9.3
pyside6-essentials==6.9.3
pytest==9.0.2
pytest-qt==4.5.0
pytest-xdist==3.8.0
python-dateutil==2.9.0.post0
python-discovery==1.2.2
pytz==2026.1.post1
pywin32==311
pyyaml==6.0.3
referencing==0.37.0
requests==2.33.1
rpds-py==0.30.0
rtree==1.4.1
scikit-learn==1.7.2
scikit-rf==1.11.0
scipy==1.15.3
scooby==0.11.2
shapely==2.1.2
shiboken6==6.9.3
six==1.17.0
sqlparse==0.5.5
threadpoolctl==3.6.0
toml==0.10.2
tomli==2.4.1
tomli-w==1.2.0
towncrier==25.8.0
typing-extensions==4.15.0
typing-inspection==0.4.2
tzdata==2026.1
urllib3==2.6.3
virtualenv==21.3.0
xmltodict==1.0.4
```
Contributor guide
Research direction
Search for the get_product_property_ids() implementation and reproduce the failure with a layer and ProductIdType.DESIGNER on the reported Windows/Python 3.10 setup. Trace how product IDs are obtained and verify the method no longer raises InvalidArgumentException and returns the expected IDs for the layer.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100