It doesn't have to be unprotected. If it went through some ABS pipe that was going through the attic, which I guess could be secured to the trusses, would that still break the code? I spoke to the power company last week and they said they only inspect the connection to the meter. They have no say in how it gets to the meter. That is the responsibility of the electrician following the CEC.
There are some dimensional and safety codes that need be done ,which most likely you should call electric company to do that ,you need provide building permit and request amperage with a standard electrical box .
Building a new house in St. John's, Newfoundland, Canada, where we use the CEC code (Canadian Electrical Code). The utility room where I want my panel box is on the left side of the house, but the power pole is on the right side of the house. I could go underground from the pole to the other side of the house, but that would be costly. I was thinking it would be simple to just run a cable from the power pole to the right side attic, then through the attic over to the left side of the house. The house is a ranch style, so its just one long continuous roof. From the left side, the cable would come out again and down the wall into a power meter located at normal eye-level. From there it would go back into the house and into the breaker panel in the utility room.
I don't know if putting a power cable through a vented, non-living space attic like this would break any codes? Any Newfoundland or Canadian electricians think this is allowed?