#25173 comments about  Hiero bug not emitting kBeforeProjectLoad event
The Foundry has recorded
> Bug 40413 - Python API - kBeforeProjectLoad event type is not triggered when calling hiero.core.openProject() (only triggered through UI)
We're working around this by manually emitting the `kBeforeProjectLoad` event. When it's fixed in a future version, this code will have to be wrapped in a version check in order to prevent accidentally  emitting the event twice (once by Hiero, and once by this our code).