//-------- run/example2/MyDetectorConstruction (modified) ........... // Create a G4VisAttributes object with color entry "Blue" G4VisAttributes * calorimeterVisAtt = new G4VisAttributes(G4Colour(0.,0.,1.)); // Set "Forced wireframe style" to the G4VisAttributes object calorimeterVisAtt->SetForceWireframe(true); // Set "Invisibility" to the G4VisAttributes object calorimeterVisAtt->SetVisibility(false); // Set the G4VisAttributes* to a logical volume calorimeter_log->SetVisAttributes(calorimeterVisAtt); ...........