Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/p/b/pbrtMayaPy-HEAD/PBRT/Commands/Exporter.py   pbrtMayaPy(Download)
            and cmds.getAttr( 'pbrt_settings.scene_export_defaultLighting' ) == 1 \
            and areaLightsWereWritten==0:
                self.sceneFileHandle.write( PBRTLight.Light.defaultLighting())
 
        self.exportType( OpenMaya.MFn.kLocator, PBRTLocator.Locator.Factory, "Locator" )