This is an issue I'm aware of, and have run into often. Blender, when you duplicate an object, will append the .001 to the object name. the '.' is invalid in C++ as an identifier, so you end up with a compiler error. I thought I at one point had added (or intended to add) code to just convert...