FSDreamTeam forum

Products Support => GSX Support MSFS => Topic started by: davidcherrie on September 15, 2024, 03:20:04 pm

Title: Custom python gate selections are not selectable
Post by: davidcherrie on September 15, 2024, 03:20:04 pm
When trying to select a custom defined group, the GSX window disappears and reloads after latest GSX updates. Have attached the python script for this airport. If I'm on the stand, or use the editing mode to select and modify the stand, I can interact with GSX however when selecting the custom group, it just closes the window and resets GSX.

All my airports have suddenly got this issue as for each airport, I have pre-defined gates using python that I have setup with all the stop positions etc.



Code: [Select]
msfs_mode = 1

@AlternativeStopPositions
def customOffsetHeavy(aircraftData):
table = {
0: 0,
300: 7.5,
319: 0,
320: 0,
321: 0,
330: 11.2,
340: 11.2,
350: 11.2,
380: 14.05,
727: 0,
737: 0,
747: 14.05,
757: 7.5,
767: 7.5,
777: 14.05,
787: 11.2,
}
return Distance.fromMeters( table.get(aircraftData.idMajor, 0) )

parkings = {
    GATE_A : {
        None : (),
        22 : (CustomizedName("DCD|Gate 22"), customOffsetHeavy),
    }
}