Forum

#1 2019-10-10 21:52:13

Lucas_P3D
New member

Lister tout les Tags present dans la scene

Bonjour

j'aimerai savoir si il est possible avec Python de mettre dans une Liste tout les tags présent dans la scene ?

Offline

 

#2 2019-10-11 10:31:40

doubleailes
Guerilla dev, the guy to hug

Re: Lister tout les Tags present dans la scene

Hi Lucas,

I'm not really fluent in french but i think i understand your question.

Of course you can you use this:

Code:

import guerilla
print (guerilla.Document ().DeclaredTags.get())

it return a dictonnary you just need to iterate the keys


in a cleaner version

Code:

import guerilla
doc = guerilla.Document()
l = doc.DeclaredTags.get()
print (l.keys())

Cheers

P


Philippe Llerena

Offline

 

#3 2019-10-11 10:53:34

Lucas_P3D
New member

Re: Lister tout les Tags present dans la scene

hi Philippe

thanks a lot

appreciate your Help

don't find any information on a DeclaredTags Attribute on The Python SDK docs.

Offline

 

#4 2019-10-11 14:42:47

doubleailes
Guerilla dev, the guy to hug

Re: Lister tout les Tags present dans la scene

Hey Lucas,

Yes, there is some undocumented function in guerilla.
The python3 update is a good occasion to update it.

Feel free to post here anytime.

Good luck with your graduation movie.

P.


Philippe Llerena

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB