Redsy, Yes, if you connect it to the metal raceway or box, you have lost the intended isolation, but it would not be a code violation. The amount of isolation required is a design issue, not a safety or code issue. You are permitted to connect it anywhere on the grounding system that will provide the required fault clearing path. Don(resqcapt19)