State saved to python does not capture Data Axis Grid
When you save ParaView state as a python file (such as with Save Catalyst State
), it does not save the visibility of the Data Axis Grid
if it is turned on for an object.
To replicate, do the following:
- Load
disk_out_ref
(or any other data). - Turn on
Data Axis Grid
for that object. (Note, this is different thanAxis Grid
.) - Click on
Save State
and save to a .py file (not a .pvsm file). - Reset the ParaView session.
- Open the python shell (
View
->Python Shell
). - Click on
Run Script
and load the state script just saved. - When the script is run, the data axis grid is not visible.
The state file is not capturing the *Display.DataAxesGrid.GridAxesVisibility = 1
necessary to turn on the data axis grid for the object.