Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

SimObject Container Id

Featured Replies

Hi, first of all, RESPECT, for this awesome tool, simply the best for MSFS.

There's any way to show in the aircraft information selected thru the map the Containers Id  shown in MSFS?

Thx in advanced.

 

 

spacer.png

10 hours ago, jcuellar said:

There's any way to show in the aircraft information selected thru the map the Containers Id  shown in MSFS?

No. LNM will not show it if is not transferred as AI aircraft through SimConnect.

Alex

  • Author
8 hours ago, albar965 said:

No. LNM will not show it if is not transferred as AI aircraft through SimConnect.

Alex

Thx Alex. 🙏

  • 1 year later...

I'll echo @jcuellar's statement about LNM being just an amazing and awesome tool. I just started to use it recently and love it.
Now on to my question. 
I have the same question as the OP, but didn't quite understand what @albar965 meant in this reply that

Quote

LNM will not show it if is not transferred as AI aicraft through SimConnect.

.I'm fairly new to all of this, but let me explain what I'm trying to do.

My setup:
* MSFS 2020
* Traffic injector: PSXTraffic + Realtraffic
* LNM

What I am trying to do:
Once RealTraffic+PSXTraffic have injected the aircrafts, I can see them in LNM, no issues until this point. However, right now, if I want to follow a certain injected aircraft, what I do is this --> Debug --> View Simobject containers --> Then I enable "Name" for all Aircraft containers, and once I can view the Name (which includes the objectId of the aircraft), then I expand that container, and click on "View".

I don't know why but I thought that I might be able to view this objectId of any of these injected aircrafts, since its already getting the rest of the info from SimConnet (lat/lon/alt etc).

If these aircrafts are already initialized as AI aircrafts, is there any way to view the objectIds. Apologies in advance, I'm fairly new to all of this from a tech perspective.
 

LNM fetches all data through the MSFS SimConnect interface. So I'm limited by what it provides.

But looking at the SimConnect documentation I think I can use the field dwObjectID in the SIMCONNECT_RECV_SIMOBJECT_DATA structure.

Have to check. Not sure if this is the same as the container id but might be the number you're looking for. I can add an option to show this as a label attached to the aircraft icon (off per default).

Alex

 

  • Author
On 6/4/2024 at 3:41 PM, SimAccretion said:

I'll echo @jcuellar's statement about LNM being just an amazing and awesome tool. I just started to use it recently and love it.
Now on to my question. 
I have the same question as the OP, but didn't quite understand what @albar965 meant in this reply that

.I'm fairly new to all of this, but let me explain what I'm trying to do.

My setup:
* MSFS 2020
* Traffic injector: PSXTraffic + Realtraffic
* LNM

What I am trying to do:
Once RealTraffic+PSXTraffic have injected the aircrafts, I can see them in LNM, no issues until this point. However, right now, if I want to follow a certain injected aircraft, what I do is this --> Debug --> View Simobject containers --> Then I enable "Name" for all Aircraft containers, and once I can view the Name (which includes the objectId of the aircraft), then I expand that container, and click on "View".

I don't know why but I thought that I might be able to view this objectId of any of these injected aircrafts, since its already getting the rest of the info from SimConnet (lat/lon/alt etc).

If these aircrafts are already initialized as AI aircrafts, is there any way to view the objectIds. Apologies in advance, I'm fairly new to all of this from a tech perspective.
 

Hi,

I found the easiest way to chase certain aircraft. Inside the PSXT folder, normally in drive C root, you will find a file called Callsign2ObjectId.txt. Open it in Notepad++ and you will have a list of active aircraft on ground and air with the object ID and flight number as seen in Flightradar24. 

I hope this helps.

Jaime

On 6/5/2024 at 2:33 PM, albar965 said:

...

Have to check. Not sure if this is the same as the container id but might be the number you're looking for. I can add an option to show this as a label attached to the aircraft icon (off per default).

Alex

 

Oh wow! Assuming it works, I'd be extremely greatful and happy. Thank you again.

18 hours ago, jcuellar said:

Hi,

I found the easiest way to chase certain aircraft. Inside the PSXT folder, normally in drive C root, you will find a file called Callsign2ObjectId.txt. Open it in Notepad++ and you will have a list of active aircraft on ground and air with the object ID and flight number as seen in Flightradar24. 

I hope this helps.

Jaime

Thanks Jaime @jcuellar. Yeah, I found this trick from the PSXT docs as well, and have tried it out a few times, but unfortunately (I'm being extremely picky here), this only gets updated once/minute. I guess under normal conditions, it would be more than sufficient, but my usecase hits a bit different (for me at least). I'm trying to follow other (injected) planes, listen to (real) ATC, and then am trying to understand the SIDs/STAR/APP using LNM.

Assuming @albar965's idea works, this would honestly save me so much back and forth, copy/paste etc. So now I can easily get the container (object) id from LNM, and then switch to Debug --> SimObject container --> View, and easily follow the rest of my learning stuff.

Many thanks again.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.