How to remove one part from the visualization

Greetings! I have one difficult part to draw and i want to visualize without that part? How can i do that?

Actually, it was quite simple: /vis/geometry/set/visibility Name 0 false

or you could make it invisible directly in the code:

auto invisible = new G4VisAttributes(G4VisAttributes::GetInvisible());
fWorldVolume->SetVisAttributes(invisible);

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.