So i bump into a problem. I somewhat messed up with an external file that has wrong body names in it.
Then, i wanted to get the index by using mb.bodyIndexByName(wrongName).
The thing is that the function actually returns a valid bodyIndex (body 0).
Is this the desired behaviour? I would rather prefer the program to throw me an error.
Hi,
So i bump into a problem. I somewhat messed up with an external file that has wrong body names in it. Then, i wanted to get the index by using
mb.bodyIndexByName(wrongName)
. The thing is that the function actually returns a valid bodyIndex (body 0).Is this the desired behaviour? I would rather prefer the program to throw me an error.
Thanks :)