A fast automatic routing method based on skeleton model in virtual environment is introduced in this paper. By defining the properties of the stent, electronic connector and electronic equipment of the routing solid model, the routing factors are obtained and skeleton is built. Then, the cables can generated automatically based on the connection relationship and cable attributes. This method can bring out the connection between electronic connector node tables and 3D model, managing the network path, flexible modification of 3D routing features, 3D routing automatically, and generating cable branch diagrams. The routing efficiency can be improved and the length of the cables inosculates with the actual one perfectly, which is of great value in engineering.