mirror of
https://github.com/OpenFOAM/ThirdParty-6.git
synced 2025-12-08 06:57:43 +00:00
12 lines
411 B
Python
12 lines
411 B
Python
# Macro for BUG #11065. This makes it possible to show the grid for a dataset in
|
|
# the background.
|
|
try: paraview.simple
|
|
except: from paraview.simple import *
|
|
paraview.simple._DisableFirstRenderCameraReset()
|
|
|
|
spcth_0 = GetActiveSource()
|
|
ExtractSurface2 = ExtractSurface()
|
|
DataRepresentation5 = Show()
|
|
DataRepresentation5.Representation = 'Wireframe'
|
|
DataRepresentation5.BackfaceRepresentation = 'Cull Frontface'
|