馃攳 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