Can trees be traversed in mobu? Is there a .child or .end function that can be used?
Have you looked at the API with whatever object type you’re working with?
Hey Rob,
yes I did look, and found nothing. Could I maybe add a fuction in the api? How would i go about doing that?
Then I would say you’re not looking hard enough…:(:
[B]FBModel[/B]
FBPropertyListModel Children
List: Children for model.
Definition at line 271 of file fbmodel.h.
think there are even some examples of this in their sample scripts aswell as the c++ code
FBTreeNode does not have a child or end attribute. Just getRoot
but FBPropertyListModel Children does exist. Thing is, i need the tree not the model list. And I need to be able to traverse the tree and check information on its nodes.
I am trying to give the user the posibility to select(with a checkbox) which character and take he wants to export from a scene. A tree was an option, so is a multiple select list.- almost finished it, i am at the point where i have to allow selection of take.
First script in mobu almost done, yey!