🔍 Before submitting the issue
🐞 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
🔍 Before submitting the issue
🐞 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