
12 Feb
2007
12 Feb
'07
12:28 p.m.
I'd like to be able to set the representation (wire, stick, bs, cpk) of a model programmatically, in this case, from a plugin. I was trying the following, but the newly displayed model would always be displayed in wire: self.model = ReadSDF.readSDF(tmpfile.name) chimera.openModels.add(self.model) #Midas.represent('stick', self.model) Midas.represent('cpk', self.model) Suggestions? thanks, Randy