I'm trying to use python to turn off / on the reference plane in the current viewport, is there an easy way to do this? I see hou.ReferencePlane but it seems to control the construction plane instead of the reference plane…
This looks like a bug to me. There's even a separate hou.ConstructionPlane class and constructionPlane method in the paneTab object. Both control the construction plane.
Edit:
Only the reference plane class's visibility state is incorrectly connected to the construction plane's visibility. The other controls seem to be working correctly for size and resolution of the grid.
I'm thinking bug too cause it looks like hou.ReferencePlane is new to 17. There's also hou.GeometryViewportSettings.showReferenceGrid, but that's not implemented yet. We're still on 17.0.352 so I'm not sure if it's fixed in later builds or not..