-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
bugDefects or glitches reported by users or developersDefects or glitches reported by users or developers
Description
π Before submitting the issue
- I have searched among the existing issues
- I am using a Python virtual environment
π Description of the bug
Pylance issues an error when creating new STK objects. For example, the enumeration STKObjectType.SATELLITE is threated like an integer.
Also, some attributes are not accessible by Pylance, e.g. sat.set_propagator_type
π Steps to reproduce
scen = root.current_scenario
targetSat = scen.children.new(STKObjectType.SATELLITE, "Target")
targetSat.set_propagator_type(PropagatorType.ASTROGATOR)
π» Which operating system are you using?
Windows
π Which ANSYS version are you using?
2025 R2
π Which Python version are you using?
3.13
π¦ Installed packages
pySTK 0.2Metadata
Metadata
Assignees
Labels
bugDefects or glitches reported by users or developersDefects or glitches reported by users or developers