Accessing Hotspots in Visual Selector

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.

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.

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

That's okay. Thank you for the reply.