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

    Python: possible to check if a description is highlighted in AO?

    Cinema 4D SDK
    2
    3
    453
    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.
    • R
      rownn
      last edited by

      Hey everyone,

      is it possible to check if a description is highlighted in the attribute manager?

      My first approach:

      description = op.GetObject().GetDescription(c4d.DESCFLAGS_DESC_0)
          
      for bc, paramid, groupid in description:
          accept = True
          try: name, value = bc[c4d.DESC_NAME], op.GetObject()[paramid]
          except: accept = False
      
          if accept: print (name, value)
      

      What kind of highlighting I mean:
      SCS.png

      greetings
      rownn

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

        Hi this is unfortually not possible.

        Cheers,
        Maxime.

        MAXON SDK Specialist

        Development Blog, MAXON Registered Developer

        1 Reply Last reply Reply Quote 0
        • R
          rownn
          last edited by

          🙂 thanks.

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