Skip to content

Possible to switch to using SimConnect_RequestDataOnSimObject? #122

Description

@westlakem

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 SimObject.

If it's possible to swich that to "RequestDataOnSimObject", we can make requests against different objects AND submit a "SIMCONNECT_PERIOD" variable so SimConnect can push data to us when it's updated in the sim instead of constantly pulling the data.
https://docs.flightsimulator.com/html/Programming_Tools/SimConnect/API_Reference/Events_And_Data/SimConnect_RequestDataOnSimObject.htm

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions