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

    some icon index not find

    Cinema 4D SDK
    python
    2
    3
    460
    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.
    • chuanzhenC
      chuanzhen
      last edited by

      Hi,
      not find these icon index in py doc Icon Index page
      620c4b72-aec8-45e5-a754-22cc9c0af986-image.png
      Thanks for any help!

      相信我,可以的!

      ferdinandF 1 Reply Last reply Reply Quote 0
      • ferdinandF
        ferdinand @chuanzhen
        last edited by ferdinand

        Hello @chuanzhen,

        Thank you for reaching out to us. Yes, some icons are not exposed in the index, we could probably revamp the script a bit which gathers the icons. Icon identifiers are often nothing more than the command IDs of the commands which use them, as icons being registered on their own is more the exception than the rule.

        The yellow diamond shape is the icon of the Convert Layer to Keyframe Animation (id: 465001198, no symbol) command. The crossed-out speaker symbol is the toggle state of the Play Sound (16391), I currently do not see a way to get hold of this icon other than loading it directly from the texture atlas you were using in your screenshot.

        Cheers,
        Ferdinand

        import c4d
        
        # Convert Layer to Keyframe Animation
        clkaIcon: c4d.bitmaps.BaseBitmap = c4d.bitmaps.InitResourceBitmap(465001198)
        c4d.bitmaps.ShowBitmap(clkaIcon)
        

        19cc4fb8-d29a-4008-bffd-0b2886c025a6-image.png

        MAXON SDK Specialist
        developers.maxon.net

        chuanzhenC 1 Reply Last reply Reply Quote 0
        • chuanzhenC
          chuanzhen @ferdinand
          last edited by

          @ferdinand Thanks

          相信我,可以的!

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