Blender (jusqu' 2.49)
Python
Macro 
Trouver l'objet portant 
un nom en particulier
    Début   Index
précédentScript Python
Macro trouver le scriptlink Suivant

 
import Blender
from Blender import Scene
scene=Scene.GetCurrent()

O=[o for o in scene.objects if o.name=='untel']

if O:
 print O[0], O[0].name, O[0].type 
else:
 print 'liste vide '


 
précédentScript Python
 Macro trouver le scriptlink Suivant
Vers le  Haut de page

Les questions concernant cette page  peuvent être posées sur  :
 news://news.zoo-logique.org/3D.Blender


 

 

Livre en franais
Blender : apprenez, pratiquez, Crez, livre, Ed. Campus Press, coll. Starter Kit
Blender Starter Kit

Forum
FAQ
Lexique
Didacticiels
Compilations
Blender2KT
Dbuter
Modelage
Blender python
Materiaux
Lumire
Animation
API python (eng)
Archives nzn
Statistiques
Doc flash Sculptris
SiteMap 3D
Galerie Sculptris

mon site de dmos sur youtube