Softimage doesn't seem to like it when you pass it a QString. I usually just do it like that :
myCam = si.ActiveSceneRoot.FindChild( str( sel.text() ) ) On 8 July 2013 15:04, Gene Crucean <[email protected]> wrote: > Hey guys, > > I'm kinda sorta new to PyQt and an trying to figure out why this is > crashing Soft. I'm sure it's something really simple I'm doing wrong but > could use a little guidance. > > > si = Application > log = si.LogMessage > > camList = self.ui.cameraList.selectedItems() *# QLineEdit* > for sel in camList: > log(sel.text()) *# If all I do is log it's fine.* > myCam = si.ActiveSceneRoot.FindChild(sel.text()) *# Pretty sure this is > the line that's crashing even though Soft is crashing before any output > happens.* > log("myCam: " + myCam.FullName) > > > Thoughts, tips, opinions? > > Cheers > > > -- > -Gene > www.genecrucean.com >

