Python-SimConnect icon indicating copy to clipboard operation
Python-SimConnect copied to clipboard

Python interface for MSFS2020 SimConnect.dll

Results 32 Python-SimConnect issues
Sort by recently updated
recently updated
newest added

python 3.12 ``` from SimConnect import * from SimConnect.EventList import * from SimConnect.RequestList import * def trigger_event(event_name, value_to_use = None): EVENT_TO_TRIGGER = ae.find(event_name) if EVENT_TO_TRIGGER is not None: if value_to_use...

I want to send a PMDG event, namely 76781. How can I do this?

I have this very simple piece of code that tries to get the destination of the plane in msfs2020. I tried the "FLY_ASSISTANT_SET_AS_DESTINATION" simvar and it should return the destination...

Hello All, Thank you for your attention. How do we set the latitude and longitude of an air object? I have the simobject Id. I can hardcode it is necessary....

I have MSFS running, I can get a whole bunch of aircraft information using `qa.get("SOME_SIM_VAR_NAME")`, but the `CAMERA_STATE` var, and other camera-related values, are all `None` rather than the enums...

I'm trying to get real-time location and attitude data, but it seems I can only get a ~5Hz data rate using this lib. I'd prefer to stay in Python and...

On the following line: https://github.com/odwdinc/Python-SimConnect/blob/master/SimConnect/SimConnect.py#L214 You call "self.dll.RequestDataOnSimObjectType", which limits the request to the user object and issues a new "request" to the SimConnect DLL for information on the target...

Is there a way to generate a data definition with multiple simulation variables? Making a single call for each individual variable is very inefficient when you may want 50+ variables...

Hey, when we set data on the aircraft, instead of individually setting variables is it possible to send them at once? i've been seeing some jittering when i send more...