{"id":29583,"date":"2022-01-17T11:00:37","date_gmt":"2022-01-17T16:00:37","guid":{"rendered":"https:\/\/blogs.solidworks.com\/tech\/?p=29583"},"modified":"2023-01-17T14:09:09","modified_gmt":"2023-01-17T19:09:09","slug":"making-life-easier-with-electrical-routing-part-2","status":"publish","type":"post","link":"https:\/\/blogs.solidworks.com\/tech\/2022\/01\/making-life-easier-with-electrical-routing-part-2.html","title":{"rendered":"Making Life Easier with Electrical Routing \u2013 Part 2"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-29584 size-large\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/TMSRouting170120221-615x183.png\" alt=\"\" width=\"615\" height=\"183\" srcset=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/TMSRouting170120221-615x183.png 615w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/TMSRouting170120221-300x89.png 300w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/TMSRouting170120221-728x217.png 728w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/TMSRouting170120221.png 752w\" sizes=\"auto, (max-width: 615px) 100vw, 615px\" \/><\/p>\n<p>So, we finally got round part 2 of this series. In the first part of the series, we looked at how we can create and reuse standard cables using SOLIDWORKS Electrical Routing. In this part of the series, we are going to look at further automating our routing design process using From-To Lists. As mentioned previously in this series, this is a great way of setting up your route layouts in advance, including pin connection information, and is a great method for those who just love using Excel.<\/p>\n<p>Before we get to creating a new From-To List there are a couple of things required beforehand, we require our Components library (Components.xml) and Cable library (cable.xml) to be defined. These would include any components and cables\/wires that will be used within the route being generated from the From-To List. For examples of these libraries, you can see the defaults libraries in the following location:<\/p>\n<p><strong>C:\\ProgramData\\SOLIDWORKS\\SOLIDWORKS 2022\\design library\\routing\\electrical<\/strong><\/p>\n<p>These libraries can be viewed\/modified\/created using the routing library manager. I would always recommend saving a copy of the default library if you plan on editing the defaults. You could also go one step further and move your custom libraries to a custom file location so that it is separate from the default data provided with SOLIDWORKS. (Note \u2013 be sure to set new location in the routing library manager if you move these libraries)<\/p>\n<p>When it comes to creating a From-To List there are a few ways that we can go about it, we can either create a new list through the From-To List Wizard built into SOLIDWORKS; we can create a table of our own in Excel; or we can simply open an existing list and edit it as required. To use either of these options you can access the From-To List Wizard from <strong>Tools &gt; Routing &gt; Electrical &gt; From-To List Wizard.<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-29585 aligncenter\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/TMSRouting170120222.png\" alt=\"\" width=\"506\" height=\"335\" srcset=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/TMSRouting170120222.png 506w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/TMSRouting170120222-300x199.png 300w\" sizes=\"auto, (max-width: 506px) 100vw, 506px\" \/><\/p>\n<p>To create a new list from scratch you can either use the wizard as previously mentioned or if you wish to use Excel you can simply start a new list using the wizard, however, export the table to Excel format to complete the setup in Excel. This method will ensure that you have all the required columns in place and that no information is missing. That being said, using the From-To List Wizard will provide drop-down menus for each of the fields that read from the Component or Cable libraries, so if you are just starting out it\u2019s a good way to make sure you are staying on track.<\/p>\n<p>When creating a new list from scratch you will first be prompted to define the locations of the component library, along with the cable library that we previously mentioned. This will then allow the From-To List to read the component and cable libraries pulling the appropriate information into our assembly (part file locations, number of pins, wire colour, wire OD, etc). An example From-To List can be seen below.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-29586 aligncenter\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/TMSRouting170120223.png\" alt=\"\" width=\"602\" height=\"321\" srcset=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/TMSRouting170120223.png 602w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/TMSRouting170120223-300x160.png 300w\" sizes=\"auto, (max-width: 602px) 100vw, 602px\" \/><\/p>\n<p>Once you have completed the list describing your route you can then return to your assembly and select Start by From\/To on the routing electrical tab. It will then ask you to locate the From-To List that you just created. If you have created unique column headers in your list, that are not the default, you can also ensure that these are lined up correctly here.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-29587 aligncenter\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/TMSRouting170120224.png\" alt=\"\" width=\"519\" height=\"397\" srcset=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/TMSRouting170120224.png 519w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/TMSRouting170120224-300x229.png 300w\" sizes=\"auto, (max-width: 519px) 100vw, 519px\" \/><\/p>\n<p>With the From-To List lined up correctly all that is left to do is click okay. From here you will then be prompted to insert all the connectors from the list. Once the last connecter is inserted it will then prompt you to start the route which is, where the smart bit comes into play, as it will automatically start the auto route command displaying guidelines for the connections mentioned in the list. The guidelines option within the auto route tool can then be used to convert the guidelines to routes, merge the guidelines together to create routes or even add guidelines to existing routes. Through this tool we can also use the re-route tool to edit the route through clips if needed.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-large wp-image-29588 aligncenter\" src=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/TMSRouting170120225-615x508.png\" alt=\"\" width=\"615\" height=\"508\" srcset=\"https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/TMSRouting170120225-615x508.png 615w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/TMSRouting170120225-300x248.png 300w, https:\/\/blog-assets.solidworks.com\/uploads\/sites\/4\/TMSRouting170120225.png 681w\" sizes=\"auto, (max-width: 615px) 100vw, 615px\" \/><\/p>\n<p>For the final bit of magic, there are always those instances where the design gets changed, maybe an additional connector is added, well this is easily updated as we can simply edit the From-To List then within SOLIDWORKS we have the option to \u2018Re-Import From-To\u2019.<\/p>\n<p>&nbsp;<\/p>\n<p>Click <a href=\"https:\/\/blogs.solidworks.com\/tech\/2021\/09\/making-life-easier-with-routing-electrical-part-1.html\">here<\/a> if you missed the previous post <a href=\"https:\/\/blogs.solidworks.com\/tech\/2021\/09\/making-life-easier-with-routing-electrical-part-1.html\">Making Life Easier with Electrical Routing &#8211; Part 1<\/a><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: center;\">****<\/p>\n<p>Kieran Young<i>\u00a0is an Elite Applications Engineer at\u00a0<a href=\"https:\/\/www.tms-scotland.com\/Solidworks\">TMS CADCentre<\/a>, a SOLIDWORKS Value Added Reseller in Scotland.<br \/>\n<\/i><\/p>\n<p><em>You can read more from Kieran on the\u00a0<a title=\"TMS CADCentre Blog\" href=\"https:\/\/tms-scotland.com\/solidworks\/news\/\" target=\"_blank\" rel=\"noopener noreferrer\">TMS CADCentre blog<\/a><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>So, we finally got round part 2 of this series. In the first part of the series, we looked at how we can create and reuse standard cables using SOLIDWORKS Electrical Routing. In this part of the series, we are<\/p>\n... <a href=\"https:\/\/blogs.solidworks.com\/tech\/2022\/01\/making-life-easier-with-electrical-routing-part-2.html\">Continued<\/a>","protected":false},"author":55,"featured_media":29584,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[24,35,36],"tags":[2934,600,670],"class_list":["post-29583","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-solidworks-electrical","category-tips-tricks","category-usability","tag-electrical-routing","tag-solidworks-in-scotland","tag-tms-cadcentre"],"acf":[],"_links":{"self":[{"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/posts\/29583","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/users\/55"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/comments?post=29583"}],"version-history":[{"count":2,"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/posts\/29583\/revisions"}],"predecessor-version":[{"id":29590,"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/posts\/29583\/revisions\/29590"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/media\/29584"}],"wp:attachment":[{"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/media?parent=29583"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/categories?post=29583"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.solidworks.com\/tech\/wp-json\/wp\/v2\/tags?post=29583"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}