I did a painstaking process of trying to wire up a new power panel in our rv.
How to run wiring through rv roof.
Run the cables through the roof access first drill holes in the side of the box for cables big enough to fit the threaded end of the cable gland make sure to.
I know i know i said drill a hole if you have other access like a rooftop refrigerator vent by all means use it but i did not.
Insert the weatherproof cable glands and tighten them down run each cable through a cable gland and into the hole don t tighten yet.
Place a healthy amount of sealant appropriate for the exterior of your rv around the hole and place the pvc box on top of it and then fasten it with the appropriate screws.
Add a short about 4 inch length of pvc conduit to the hole you ll be using to get your wire into the pvc box.
You will need to drill a hole in the roof of the rv large enough to run the wires inside.