Skip to content

Instantly share code, notes, and snippets.

@nicelifeBS
Last active November 5, 2015 10:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nicelifeBS/05cc92d221d2644e355d to your computer and use it in GitHub Desktop.
Save nicelifeBS/05cc92d221d2644e355d to your computer and use it in GitHub Desktop.
# python
# modo 901
# Get txtLocator and clipItem of an imageMap
imageMap = modo.Item('imageMap028')
shaderGraph = lx.object.ItemGraph(scene.GraphLookup(lx.symbol.sGRAPH_SHADELOC))
texLoc = shaderGraph.FwdByIndex(imageMap, 0)
clipItem = shaderGraph.FwdByIndex(imageMap, 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment