Hi, I want to modify “axes grid” properties using python script. It seems that some scripts are working, but some are not working.
For example: the following is working:
renderView = GetActiveView()
axesGrid = renderView.AxesGrid
axesGrid.Visibility = 1 #show the axes grid
axesGrid.XTitle = ‘R (m)’ #change the title
axesGrid.XTitleColor = [0, 0, 0.0] #change the color
But some are not working, e.g.
axesGrid.XAxisLabels = [0.2, 0.3, 0.4] #change the labels
Moreover, I also want to change the color of the lables, and could not find the command. I also want to turn off some lables on some boundaries. Such function is achievable via GUI, but I don’t know how to do it in command line. Any idea? Thanks!
Chen