Notifications
Clear all
[Closed] Hide SelectionSets[string]?
Apr 03, 2018 5:22 pm
I’ve been trying to write a script that allows me to set a string in a text field and then hide a selection set with a name that matches what is in my text field. But this isn’t working:
myName = “MySet”
myObjectName = execute (“$’”+myName + “’”)
hide selectionSets[myObjectName]
I get: – Unable to convert: undefined to type: String
I can only assume I’m not passing the string properly, but I’ve been unable to find any help in the online documentation or otherwise.
Any help would be very appreciated, thanks in advance!