What is wrong with: AnyStringVar Side = iffun(eqfun(SideID,0), “R”, “L”); - I checked with your code in the model from the other thread, seems to work.
Could you be more specific about the bug?
P.S. I have tried on a version of AnyBody, which is a little newer than yours.
Please see my answer in another thread. This is probably the easiest way as well to solve this problem. But then again it might not be important since C3D name construction will not work. I guess you could still use this object for output construction.
But I also see that you actually have a beta version (does it work for you?) - let’s use this approach for now as the official version should come out in some foreseeable future.