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

    Accessing Hotspots in Visual Selector

    PYTHON Development
    0
    3
    1.5k
    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.
    • H
      Helper
      last edited by

      On 27/08/2018 at 20:41, xxxxxxxx wrote:

      Hi,
      I've been trying to create a Python script to automate my Visual Selector setup (particularly setting the transparency to 100% for all hotspots, of which there are many). I looked at the C++ documentation and there appears to be an ID called ID_CA_TAG_VS_HOTSPOTS , but I'm unable to get the list of hotspots from it. This is my current approach:

      tag = doc.GetActiveTag()
      print tag		#<c4d.BaseTag object called 'Visual Selector/Visual Selector' with ID 1026275 at 0x0000026255AE3710>
      print tag[c4d.ID_CA_TAG_VS_HOTSPOTS]		#AttributeError: Parameter value not accessible (object unknown in Python)
      

      Could anyone help me with this? Thank you.

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        On 28/08/2018 at 04:43, xxxxxxxx wrote:

        Hi,

        unfortunately it's currently not possible to access the Visual Selector via our APIs. The problem is related to datatypes used internally and not being available in the APIs. Sorry.

        1 Reply Last reply Reply Quote 0
        • H
          Helper
          last edited by

          On 28/08/2018 at 07:10, xxxxxxxx wrote:

          That's okay. Thank you for the reply.

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