In SpaceClaim and Discovery the normal of a solid body is always "out" of the solid. For surface bodies the connected faces should always have consistent normal direction, but this direction can be flipped. In the interface you can flip the normal direction by using the tool in Measure - Quality - Normal, selecting a face and right-clicking and selecting "Reverse Face Normal". How can this be done via scripting?