Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Accessing the World Grid Options in R25+?

    Cinema 4D SDK
    r25 python
    2
    3
    642
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      bentraje
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • B
        bentraje
        last edited by

        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]

        1 Reply Last reply Reply Quote 0
        • ManuelM
          Manuel
          last edited by

          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

          MAXON SDK Specialist

          MAXON Registered Developer

          1 Reply Last reply Reply Quote 1
          • First post
            Last post