Is there a method for identifying what has been FBAplication.FileMerge(fbx)?

aaron.low84JVP
Observer
Observer

Is there a method for identifying what has been FBAplication.FileMerge(fbx)?

aaron.low84JVP
Observer
Observer

Lets say you FileMerge() and FBX with a character. Is there any way to easily identify and isolate what components have just been imported. An Example is HIKCharacters and getting their immediate reference is important. 

My work around is to just use FBSystem().Scene.Characters before and after FileMerge(), but that feels messier than it needs to be. Any optimizations would be greatly appreciated. 

0 Likes
Reply
218 Views
2 Replies
Replies (2)

Mocappy
Advocate
Advocate

Yeah, I know what you mean. I've used that myself and always felt like there should be something else. Couple of other tricks for characters:

 

  • Add them to a namespace on Merge using FBFbxOptions.NamespaceList = YOUR_NAMESPACE
  • After merging, get the last character added to the scene using FBSystem().Scene.Characters[-1] - each time you add or create a character it's added to the end of the list.

Hopefully one of these feels a little more tidy 🙂

 

aaron.low84JVP
Observer
Observer

What a surprise!
I was just thinking about one of your youtube videos, using the same method! (Love the idea of IKhelpers Namespaces)
Thank you,
Big fan!