I've scripted a read from a string array tag using a tag path parameter to the function. I want to define the behavior when the tag path is empty or none.
So, how do I assign an empty string array to the same variable, in place of the string array read from the tag?
When I read from the tag I get this:
array(java.lang.String, [u'e00002_Test', u'e00002_Test', u'e00002_Test', u'e00002_Test', u'e00002_Test', u'e00002_Test'])
and I want this for the empty/none result:
array(java.lang.String, [])
How do I do that with python? - or do I need an empty string array tag to read? Or, should I just use it as a list/dataset for scripting and update my code accordingly?