Quick scripting question.
Users can alter the names of channels directly in the Brightness/Contrast window (double click), or drag a text file on to them to apply name changes to all of the channels in a row, but after digging through the videos and my old emails a bit, I’m still not sure how to apply channel name changes through a script.
imageData = getCurrentImageData() server = imageData.getServer() metaData = server.getMetadata() print metaData //describe(metaData) //here I find out getChannels needs to be fed into a List List channels channels = metaData.getChannels() describe(channels) //Not sure how to do this. //channels.setName()
I’ve gotten this far, but when describing a channel through the metaData, there isn’t a setName option.