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

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

src/b/l/blender_nif_plugin-HEAD/todo/utilities/object_niftools_load_bone_pose.py   blender_nif_plugin(Download)
    if not boneitems:
        print("no armature selected")
        Blender.Draw.PupMenu('ERROR%t|no armature selected')
        return
 
        posetxt = Blender.Text.Get(PREF_BUFFER.val)
    except NameError:
        Blender.Draw.PupMenu('ERROR%t|text buffer does not exist')
        return
    # reconstruct poses
                  for row in matrixstr.split(';')])
        except:
            Blender.Draw.PupMenu('ERROR%t|syntax error in buffer')
            return
        # save pose matrix

src/p/y/PyPRP-HEAD/PyPRP/prp_WizardsInterface.py   PyPRP(Download)
    else:
        message = "Upgraded books and kept the old objects."
    Blender.Draw.PupMenu(message)
 
def setbounds():

src/b/l/blender_nif_plugin-HEAD/todo/utilities/mesh_niftools_morphcopy.py   blender_nif_plugin(Download)
    obs = [ob for ob in self.context.selected_objects if ob.type == 'MESH']
    if not obs:
        Blender.Draw.PupMenu('Error%t|2 or more mesh objects need to be selected.|aborting.')
        return
 
    act_ob = scn.objects.active
    if PREF_SEL_ONLY and (act_ob is None):
        Blender.Draw.PupMenu('Error%t|When dealing with 2 or more meshes with morphs|There must be an active object|to be used as a source|aborting.')
        return
 
            if from_data:
                Blender.Draw.PupMenu(
                    'More then 1 mesh has morphs, only select 1 mesh with '
                    'morphs. Aborting.')
                return
 
    if not from_data:
        Blender.Draw.PupMenu('Error%t|No mesh with morphs found.')
        return
 
    if not sel:
        Blender.Draw.PupMenu('Error%t|Select 2 or more mesh objects, aborting.')

src/p/y/PyPRP-HEAD/PyPRP/prp_Wizards.py   PyPRP(Download)
        resultMessage = 'Converted %d properties for %d objects.' % (numProps,numObjects)
    print resultMessage
    Blender.Draw.PupMenu(resultMessage)
 
 
    message = 'Added %d materials and %d textures.' % (numMatCreated,numTexCreated)
    print message
    Blender.Draw.PupMenu(message)
 
 
        text.write("PyPRP 1.5 to 1.6 Compatibility Report\n\n\n")
        text.write(report)
        Blender.Draw.PupMenu("Open a text editor window to review %d notes in text block \"Compatibility Report\"." % count)
    else:
        Blender.Draw.PupMenu("No issues found, this age should export without modification.")
            print "    " + n
 
    Blender.Draw.PupMenu("|".join(summary))
 
 

src/b/l/blender_nif_plugin-HEAD/todo/utilities/object_niftools_set_bone_priority.py   blender_nif_plugin(Download)
    if not boneitems:
        print("no bones selected in pose mode")
        Blender.Draw.PupMenu('ERROR%t|no bones selected in pose mode')
        return
 

src/b/l/blender_nif_plugin-HEAD/todo/utilities/object_niftools_save_bone_pose.py   blender_nif_plugin(Download)
    if not boneitems:
        print("no bones selected in pose mode")
        Blender.Draw.PupMenu('ERROR%t|no bones selected in pose mode')
        return
 

src/p/y/PyPRP-HEAD/PyPRP/prp_ObjectOpts.py   PyPRP(Download)
            pass
        obj.addProperty("ignorePPT",True,'BOOL')
    Blender.Draw.PupMenu('Ignored textures in %d objects.' % (len(l)))
 
 

src/m/a/mavsim-HEAD/blender/import_freecad.py   mavsim(Download)
        import FreeCAD
    except ValueError:
        Draw.PupMenu('Error%t|FreeCAD library not found.')
    else:
        sce = Scene.GetCurrent()