Plugin Cafe Homepage
Forum Home Forum Home > Plugin Cafe > PYTHON Development
  New Posts New Posts
  FAQ FAQ  Forum Search

Accessing Hotspots in Visual Selector

Author
Message
  Topic Search Topic Search
blastframe View Drop Down
Member
Member
Avatar

Joined: 2014 Jul 19
Location: United States
Online Status: Offline
Posts: 14
Direct Link To This Post Topic: Accessing Hotspots in Visual Selector
    Posted: 2018 Aug 27 at 8:41pm
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.
Back to Top
Andreas Block View Drop Down
Forum Moderator
Forum Moderator
Avatar

Joined: 2014 Oct 01
Location: Hannover
Online Status: Offline
Posts: 1878
Direct Link To This Post Posted: 2018 Aug 28 at 4:43am
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.

Cheers,
Andreas
SDK Support Engineer
Back to Top
blastframe View Drop Down
Member
Member
Avatar

Joined: 2014 Jul 19
Location: United States
Online Status: Offline
Posts: 14
Direct Link To This Post Posted: 2018 Aug 28 at 7:10am
That's okay. Thank you for the reply.
Back to Top

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.61 [Free Express Edition]
Copyright ©2001-2009 Web Wiz

This page was generated in 0.094 seconds.