How to get all "parts" of a model?

Return to Scripting Issues

How to get all "parts" of a model?

Postby loblão » Sun Jun 17, 2012 12:07 pm

For instance, I can use:

Code: Select all
model = loader.loadModel("house")
door = model.find("**/door1")

here I get the door, but how can I get a list of everything, like find("**/**")?


thanks for helping :D
loblão
 
Posts: 4
Joined: Sat Jun 02, 2012 11:26 am
Location: Brasil

Postby Thaumaturge » Mon Jun 18, 2012 7:32 pm

Have you tried "findAllMatches"?
MWAHAHAHAHA!!!

*ahem*

Sorry.
User avatar
Thaumaturge
 
Posts: 685
Joined: Sat Jun 07, 2008 6:34 pm
Location: Cape Town, South Africa

Postby loblão » Thu Jun 21, 2012 12:37 pm

thank you it works
loblão
 
Posts: 4
Joined: Sat Jun 02, 2012 11:26 am
Location: Brasil


Return to Scripting Issues

Who is online

Users browsing this forum: ns.hermione and 2 guests