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
    1. Maxon Developers Forum
    2. Poliigon
    3. Posts
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 4
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by Poliigon

    • RE: Setting the name of a maxon.GraphNode via Python

      Hey Maxime,
      thanks for the quick answer.
      Actually I thought, I had tried SetValue() with that ID. But either I did something wrong or I tried something else... anyway, thanks.
      Just checked: Yes, I did something wrong. I stupidly just passed a string instead of a maxon.String. With the latter it works, not that I doubted your proposal.

      Maybe would be good, if SetValue() could throw an error, if a wrong type gets passed instead of just doing nothing.

      Also thanks for the pointer to Dunhou's project, I was already aware. Nice project! And indeed I peeked into it regarding some Arnold peculiarities...

      Cheers,
      Andreas

      posted in Cinema 4D SDK
      PoliigonP
      Poliigon
    • Setting the name of a maxon.GraphNode via Python

      Hi,
      I happily admit, I suck with the maxon node interface.
      Still, I achieved most of what I needed. But what seemed to me like the most trivial part, I seem not to be able to accomplish.
      I would like to set the name of a (true) maxon.GraphNode (similar to the user clicking the node title and renaming it).
      I found this attribute maxon.NODE.BASE.NAME, but I'm not really sure, where to use it.

      Any help would be much appreciated.
      Thanks in advance,
      Andreas

      posted in Cinema 4D SDK 2023 python
      PoliigonP
      Poliigon
    • RE: HtmlViewerCustomGui issue

      Bummer.
      But thanks, Maxime, for the quick reply.

      posted in Cinema 4D SDK
      PoliigonP
      Poliigon
    • HtmlViewerCustomGui issue

      Hi,

      once again, I'm starting to feel a bit stupid.

      I saw this thread: https://developers.maxon.net/forum/topic/14180/customgui_htmlviewer-didn-t-work-when-mouse-out-the-dialog

      So, I have a plugin with an asynchronous dialog (plugin ID is provided upon dialog open). The dialog has a quicktab interface switching between multiple subdialogs. One of them is supposed to have a HtmlViewerCustomGui to show a webpage.

      Basically my code looks pretty equal to the demo code in above linked thread.
      But for some reason I only end up with a black area, which doesn't react to anything (e.g. no context menu on right click).

      Having read through above thread multiple times now, I started to wonder, if the subdialog may be the problem?
      So, I quickly replaced my entire dialog content with just the HTML view (just main dialog with HTML view) and that worked as expected. But back in my tabbed dialog and HTML view in subdialog all I get is blackness.

      Is there anything special one has to pay attention to, when using HTML custom gui in a subdialog?

      Thanks for your help in advance,
      Andreas

      posted in Cinema 4D SDK 2023 python
      PoliigonP
      Poliigon