Running simulation with gdml

Please fill out the following information to help in answering your question, and also see tips for posting code snippets. If you don’t provide this information it will take more time to help with your problem!

Geant4 Version: 11.42
Operating System: Windows
Compiler/Version: MSVS 2026
CMake Version: 4.3.0


Hello Everyone,

Please I tried running a simulation with a gdml file as my geometry from the examples in share\Geant4\examples\extended\persistency\gdml\G01 however, even though the primary generator .cc script defines the primary particle with particle gun, and the runbeam on is also started in the main program, only the geometry is loaded when i run in interactive mode.

I already tried to comment out the run beam on from the c++ code and do that in interactive mode but the ui simply freezes with the not responding error.

Can someone please help with this?

Thank you.

Problem solved please. Thank you.