I can get the model, a marker and a body fine:
Code: Select all
a = getCurrentModel()
thoraxBody = a.getBodySet().get("thorax")
randomMarker = a.getMarkerSet().get("ij")
Code: Select all
toggleObjectDisplay(thoraxbody,0)
toggleObjectDisplay(thoraxbody,1)
toggleObjectDisplay(randomMarker,0)
toggleObjectDisplay(randomMarker,1)
Code: Select all
setObjectOpacity(thoraxbody,0)
setObjectColor(thoraxbody,[51,255,51])
setObjectOpacity(randomMarker,0)
setObjectColor(randomMarker,[51,255,51])
Thanks!