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

    Custom Object Icon in R21 python

    Cinema 4D SDK
    python
    2
    2
    445
    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.
    • A
      affa
      last edited by

      Hey,

      it seems something is broken since R21 with MSG_GETCUSTOMICON.
      It works fine in C++ but not in Python.
      Both ways won't work for me, data['useDat'] = True and filling the dat object is not working, as well as data['useDat'] = False in the old way. They only show black or transparent images now even though the bmp seems to be filled correctly

      1 Reply Last reply Reply Quote 0
      • M
        m_adam
        last edited by

        Hi @affa

        May I ask you in which context you are?

        Can you share your code?
        Did you take a look to the py-custom_icon.pyp plugin example.

        Cheers,
        Maxime.

        MAXON SDK Specialist

        Development Blog, MAXON Registered Developer

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