diff --git a/tools/Paraview macros/gprMax_info.py b/tools/Paraview macros/gprMax_info.py index 1f279f62..568fe1db 100644 --- a/tools/Paraview macros/gprMax_info.py +++ b/tools/Paraview macros/gprMax_info.py @@ -25,9 +25,6 @@ paraview.simple._DisableFirstRenderCameraReset() # Get whatever source is loaded (should be model) model = GetActiveSource() -# Get display properties -dp = GetDisplayProperties(model) - # Get active view renderview = GetActiveView() @@ -37,25 +34,24 @@ Show(model, renderview) # Reset view to fit data renderview.ResetCamera() -# Lists to hold material and sources/receiver identifiers written in VTK file in tags and +# Lists to hold material and sources/receiver identifiers written in VTK file in tags and materials = [] -srcsrxs = [] +srcs_rxs_pml = [] with open(model.FileName[0], 'r') as f: for line in f: if line.startswith('