Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware 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

    node size

    Cinema 4D SDK
    python windows 2023
    3
    4
    758
    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.
    • L
      ll2pakll
      last edited by

      Windows 10
      Cinema 4d 2023.2.1
      Python

      Good evening.
      How can I change or optimize the size of the node? It is possible to do it manually, but to do it programmatically I have not found a way neither in the documentation, nor in the history of the forum. Let me clarify that I mean the class c4d.modules.graphview.GvNode.

      1 Reply Last reply Reply Quote 0
      • i_mazlovI
        i_mazlov
        last edited by

        Hi @ll2pakll ,

        The size of the GvNode is stored in a corresponding BaseContainer and is not publicly exposed. There was some related issue here: BaseContainer missing for GvNode created with c4dpy.

        Seems that the answer here is the same as in the related thread: no workaround.

        Cheers,
        Ilia

        MAXON SDK Specialist
        developers.maxon.net

        1 Reply Last reply Reply Quote 0
        • T
          Thodos
          last edited by

          Most of the time this error persists because NodeSpace is not initialized. If you open and close Xpresso editor for xpresso tag then you can access node size in base container.

          1 Reply Last reply Reply Quote 0
          • L
            ll2pakll
            last edited by

            Thank you for the answers.

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