SOLVED Accessing the World Grid Options in R25+?

Hi,

Is there a way to access the world grid options in R25+?

By default it is not in UI. But I'm guessing it is still there since when I open an old project to R25. It recognizes the world grid options (i.e. the gird does not go infinitely).

See reference below for R21 UI option

c2704c94-f0be-49dd-a031-9887e33ca770-image.png

Kindly ignore.

Found the solution.
It would be doc.GetActiveBaseDraw()
Then the related parameters are
[c4d.BASEDRAW_DATA_PLANE_LEGACY_MODE]
[c4d.BASEDRAW_DATA_SNAP_PLANE_SPACING]
[c4d.BASEDRAW_DATA_SNAP_PLANE_SUB]

hi,

i confirm this is the right way of doing it. Be aware that the legacy mode has been removed now from the UI but is still accessible from python. If you define the legacy mode, the user will not be able to get back to normal mode.

Cheers,
Manuel