`/geometry/source gears.tg` can only be used once in a macro
jintonic opened this issue · 1 comments
jintonic commented
This means that one cannot use
/geometry/source geo1.tg
/run/initialize
/geometry/source geo2.tg
/run/reinitializeGeometry
to change geometry in a macro.
jintonic commented
The work around is to create two macros, one for each geometry.
The reason is that G4tgrVolumeMgr does not have a Reset function to clear existing geometry. Its destructor is private, so we cannot delete it either. It does have lists of solids and volumes. Maybe one can delete all the solids and volumes one by one. Two much work. Won't be fixed.