示例#1
0
 def OnInitUI(self):
     self.title = "Controls Demo!"
     self.cb1 = wxmaya.checkbox(self.panel, 'testing wxmaya.checkbox', 'perspShape.renderable')
     
     
     def button(arg):
         wxmaya.m.mel('select perspShape')
     self.b1  = wxmaya.button(self.panel, 'select perspShape', button)
     
     self.setTitle("Controls Demo!")
     self.setSize( (300,80) )
示例#2
0
 def OnInitUI(self):
     self.cb1 = wxmaya.checkbox(self.panel, 'testing wxmaya.checkbox', 'perspShape.renderable')
     self.b1  = wxmaya.button(self.panel, 'testing wxmaya.checkbox')