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

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

src/a/e/Aerospace-Simulations-HEAD/morse/src/morse/geolandloader/geoLandPlugin.py   Aerospace-Simulations(Download)
        (dirname, fileDTMShort) = os.path.split(fileDTM);
        logging.info( "Chosen file:"+fileDTM)
        Blender.Window.Redraw() # This will redraw the 3d window.
    #------------------------------ Road Button
    if evt == 2: # Shapefile Road file chooser
        fileRoads = Draw.PupStrInput("Roads Shapefile: ", "/home/rod/caylus-IGN-data/archive/DONNEES/X291T092/BDTOPO_X291_SHP_L93/A_RESEAU_ROUTIER/ROUTE.SHP", 100); 
        (dirname, fileRoadsShort) = os.path.split(fileRoads);
        logging.info( "Chosen file:"+fileRoads)
        Blender.Window.Redraw();
        (dirname, fileBuildingsShort) = os.path.split(fileBuildings);
        logging.info( "Chosen file:"+fileBuildings)
        Blender.Window.Redraw();
    #------------------------------ Vegetation Button
    if evt == 4: # Vegetation Shapefile file chooser
        fileVegetation = Draw.PupStrInput("Vegetation Shapefile: ", "/home/rod/caylus-IGN-data/archive/DONNEES/X291T092/BDTOPO_X291_SHP_L93/F_VEGETATION/ZONE_VEGETATION.SHP", 100); 
        (dirname, fileVegetationShort) = os.path.split(fileVegetation);
        logging.info( "Chosen file:"+fileVegetation)
        Blender.Window.Redraw();
            if dtmObject:
                statusDTM = 'o'
                Blender.Window.Redraw();
                # DTM texturing it with a mosaic of georeferenced images
                dtmObject.setOrthoTexture('/home/rod/caylus-IGN-data/BDO_RVB_0M50_TIF_LA93_D82-9Dalles-ED05/BDO_RVB_0M50_TIF_LA93_D82-9Dalles-ED05/');

src/a/e/Aerospace-Simulations-HEAD/morse/src/morse/geolandloader/geoShapefileLoader.py   Aerospace-Simulations(Download)
        scene = Blender.Scene.GetCurrent()
        buildingObject = scene.objects.new(buildingMesh)
        Blender.Window.Redraw()