3.5 Automatic Type Conversions

Conversions from Python string to SbName and SbString are done automatically, for instance:

    myOffScreenRenderer = SoOffscreenRender(myViewportRegion)
    if not myOffScreenRenderer.writeToFile('test.png', 'PNG'):
        print 'writeToFile failed'
where 'test.png' and 'PNG' are converted to SbString('test.png') and SbName('PNG') respectively.