Script access to image textures of shapes/styles
Posted: Mon Apr 10, 2017 6:13 pm
I've been trying to set up a script that can swap out the textures of the shapes inside a file as well as the styles. However I'm having trouble finding what field or function can return/edit these values.
I've looked through the documentation for mesh shape and style objects but not turned up anything relevant. Most of the values I can see are just looking for colour values instead of accepting paths to a texture. I saw some references to the effects field, but nothing that would return the information related to the effects in a way that could be processed and edited for my needs.
Does anyone know how to go about this, or what I might be missing?
I've looked through the documentation for mesh shape and style objects but not turned up anything relevant. Most of the values I can see are just looking for colour values instead of accepting paths to a texture. I saw some references to the effects field, but nothing that would return the information related to the effects in a way that could be processed and edited for my needs.
Does anyone know how to go about this, or what I might be missing?