{"id":4868,"date":"2020-06-03T23:47:29","date_gmt":"2020-06-03T23:47:29","guid":{"rendered":"https:\/\/www.fictiv.com\/?post_type=cpt_blog&#038;p=4868"},"modified":"2021-07-23T13:15:28","modified_gmt":"2021-07-23T13:15:28","slug":"real-hardware-engineers-code-how-to-use-code-to-maximize-efficiency-in-solidworks-reporting-more","status":"publish","type":"cpt_blog","link":"https:\/\/www.fictiv.com\/articles\/real-hardware-engineers-code-how-to-use-code-to-maximize-efficiency-in-solidworks-reporting-more","title":{"rendered":"Real Hardware Engineers Code: How to Use Code to Maximize Efficiency in Solidworks, Reporting &amp; More"},"content":{"rendered":"\n<p>Go, Go, Go\u2014we\u2019ve all heard the inspirational and aspirational desire of upper management to get it done, get it done right, and as always, get it done faster. One way to be more efficient as an engineer is to learn to code. In this blog post, I hope to help convince you to start coding in your mechanical engineering practice. At the end, I\u2019ll show you how to set up two of my favorite Macros inside of Solidworks to help you make parts faster.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Coding Can Maximize Your Engineering Time<\/strong><\/h2>\n\n\n\n<p>There is only so much time in a day, and you, as an engineer, only have so many focused clicks before your mind starts to wander. My mind usually wanders from, \u201cI want to go outside,\u201d to tacos, to margaritas, to \u201cWhat time is it? It\u2019s five o\u2019clock somewhere&#8230;\u201d as I start to wiggle in my seat (Thanks, Jimmy). So, the real goal for you to be successful is to concentrate where your clicks are used.&nbsp;<\/p>\n\n\n\n<p>For mechanicals, you want to concentrate on clicking inside your wheelhouse engineering applications (CAD, FEA packages, MATLAB simulations, thumbing through engineering texts, data sheets). Why? Well, because that&#8217;s what is truly your job. Also, since you\u2019re unlikely to get an admin anytime soon, you need to figure out a way to speed yourself up by becoming more efficient.&nbsp;<\/p>\n\n\n\n<p>A good senior mechanical engineer should be able to output 75-100 parts a year\u2014all at different varying complexity, of course, but that&#8217;s a good target. So, if you think about it, if you are a perfect clicker, that&#8217;s a minimum of: file-save as- save as step- pick file location- pick name of file- save, 75 to 100 times.&nbsp;<\/p>\n\n\n\n<p>But wait: Your part goes into review, and someone wants a quick fix on a typo on your drawing. Repeat the clicks. And then, someone else wants another change, and you upload your file to the Fictiv platform and see that your hole diameter to depth ratio is not machineable. Repeat the clicks again. Oh, and you want to test it for 3D printing and need an STL. Click, click click. You realize you made a mistake. Update your model and click click click, again and again.&nbsp;<\/p>\n\n\n\n<p>Engineer your way to a better solution by learning to code. As Smokey the Bear would say\u2026\u201dOnly <strong>YOU<\/strong> can prevent carpal tunnel.\u201d&nbsp;<\/p>\n\n\n\n<p>Coding ultimately saves time; it&#8217;s just a muscle you have to work out for it to get stronger. If you don&#8217;t start, you\u2019ll never get better.&nbsp;<\/p>\n\n\n\n<p>Why code? A script is entirely easier to review than, say, an Excel sheet (I used to TA for 3 classes of 60 students, plus my own engineering work &#8212;&gt; no script, no help).<\/p>\n\n\n\n<p>Excel sheets can be organized any which way, and most users don\u2019t assign variables&#8211;they give cells values. F=ma. Something simple can turn into =c6*$f$3\u2026and that&#8217;s simple, but already, you have no context what that means, without hunting in a spreadsheet trying to decode the original user\u2019s Excel organization.&nbsp;&nbsp;<\/p>\n\n\n\n<p>Now, start actually doing unit conversion, adding in constants, and then everyone starts doing it differently inside the Excel matrix. F=ma in a script\u2014well, it should automatically trigger some apple-falling-from-the-tree thoughts.&nbsp;<\/p>\n\n\n\n<p>With code, on the other hand, you can follow it step by step, and it&#8217;s easier to see fundamental engineering errors. Syntax will work itself out, because<strong> else:&nbsp; # your code will not run. <\/strong>This, in and of itself, helps make reviewing engineering work more efficient for everyone involved.&nbsp;&nbsp;&nbsp;<\/p>\n\n\n\n<p>See my two side-by-side comparisons below, where I show a very basic engineering equation in Python and in Excel. The Python example is self-contained, and someone should be able to review it very quickly. The Excel example isn\u2019t hard and can be decoded, but $E$5 doesn&#8217;t mean anything, unless you figure out what E5 is inside the sheet.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\" id=\"w-node-89896bbb62f6\"><img loading=\"lazy\" decoding=\"async\" width=\"1360\" height=\"724\" data-src=\"https:\/\/www.fictiv.com\/wp-content\/uploads\/2020\/09\/5ed7e6c5ba03062ccb8cce11_real-engineers-code_image01.jpg\" alt=\"\" class=\"wp-image-4870 lazyload\" data-srcset=\"https:\/\/www.fictiv.com\/wp-content\/uploads\/2020\/09\/5ed7e6c5ba03062ccb8cce11_real-engineers-code_image01.jpg 1360w, https:\/\/www.fictiv.com\/wp-content\/uploads\/2020\/09\/5ed7e6c5ba03062ccb8cce11_real-engineers-code_image01-768x409.jpg 768w\" sizes=\"auto, (max-width: 1360px) 100vw, 1360px\" \/><\/figure>\n\n\n\n<p>If your goal is to create a usable document, knowing how you got to the numbers in front of you is as important as the numbers you end up with. And knowing how you got to your answers is easier with a script. That script can allow you to speed up every task like it from that point on, with a little bit of upfront work. Hey, it&#8217;s more interesting than copy-pasting for hours every day.<\/p>\n\n\n\n<p>I delved into C, C++, and MATLAB in college and ended up in a job where everyone used Excel. While I clearly wasn\u2019t going to be able to convert a Fortune 500 company to MATLAB (although I have always succeeded at getting at least one license), I taught myself Visual Basic (VBA) macros and to write code that could fully automate gigantic spreadsheets and reports for Interface Control Documents (ICDs) for jet engines.&nbsp;<\/p>\n\n\n\n<p>Without code, someone could handle 30-50 ICDs. With code, the same person could handle 200 ICDs and multiple different engine programs.&nbsp;<\/p>\n\n\n\n<p>This is how I ventured into VBA: because I hated copying and pasting all day. Later, I learned that VBA could be used inside Solidworks, NX, and basically all Windows applications.&nbsp;<\/p>\n\n\n\n<p>To help you actually apply what I\u2019ll teach you in this post, including how to get started with some basic VBA, a zip folder of Macros to increase efficiencies in Solidworks, and scripts for \u201cSave as STEP\u201d and \u201cExport as PDF\u201d, <a href=\"https:\/\/www.fictiv.com\/tools\/coding-for-mechanical-engineers-supplementary-tools\">download this supplementary tools slide deck<\/a>.&nbsp;<\/p>\n\n\n\n<p><strong>Setting up Macros in Solidworks<\/strong><br>Now, I\u2019ll teach you how to add two of my most used Macros to Solidworks, to help you be more efficient. One exports your current Solidworks CAD file as a step to a folder on your desktop. The other exports your DWG file to a PDF file, to a folder on your desktop. This will allow you to upload them to Fictiv\u2019s website faster, saving you clicks.<\/p>\n\n\n\n<p>These two Macros will export your open DWG to PDF and append drawing pages for multi-page DWGs. One macro will also append the rev letter to the end of the file, if you use it. The other macro will export STP and append rev if you use the rev property in the SW file.<\/p>\n\n\n\n<p><a href=\"https:\/\/www.fictiv.com\/tools\/coding-for-mechanical-engineers-supplementary-tools\"><strong>Download the supplementary tools here for a zip folder of Macros.&nbsp;<\/strong><\/a><\/p>\n\n\n\n<p><strong>\u200d<\/strong>To get the rev letter to appear, you need to use the property feature (File&gt;&gt;properties). If you don&#8217;t put that in or have anything in that value box (see images below), you will not get your rev control.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\" id=\"w-node-5044210611e2\"><img loading=\"lazy\" decoding=\"async\" width=\"1442\" height=\"836\" data-src=\"https:\/\/www.fictiv.com\/wp-content\/uploads\/2020\/09\/5ed7e7b68bab8d63bb245564_real-engineers-code_image02.jpg\" alt=\"\" class=\"wp-image-4871 lazyload\" data-srcset=\"https:\/\/www.fictiv.com\/wp-content\/uploads\/2020\/09\/5ed7e7b68bab8d63bb245564_real-engineers-code_image02.jpg 1442w, https:\/\/www.fictiv.com\/wp-content\/uploads\/2020\/09\/5ed7e7b68bab8d63bb245564_real-engineers-code_image02-768x445.jpg 768w\" sizes=\"auto, (max-width: 1442px) 100vw, 1442px\" \/><\/figure>\n\n\n\n<p><strong>Fun fact<\/strong>: Here, if you look at the code, you could also automatically export other properties. If you look for the property towards the end of the code, you can see how you search for \u201cRevision\u201d and get its value. If you use Solidworks and define the material as an example, you should be able to figure out how to extract that from your properties in your code.<\/p>\n\n\n\n<p><strong>Table: Script for getting revision and saving as step<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\" id=\"w-node-ba6c4914b290\"><img loading=\"lazy\" decoding=\"async\" width=\"1392\" height=\"220\" data-src=\"https:\/\/www.fictiv.com\/wp-content\/uploads\/2020\/09\/5ed7e88cc80c595a817a6cfc_real-engineers-code_image03.jpg\" alt=\"\" class=\"wp-image-4872 lazyload\" data-srcset=\"https:\/\/www.fictiv.com\/wp-content\/uploads\/2020\/09\/5ed7e88cc80c595a817a6cfc_real-engineers-code_image03.jpg 1392w, https:\/\/www.fictiv.com\/wp-content\/uploads\/2020\/09\/5ed7e88cc80c595a817a6cfc_real-engineers-code_image03-768x121.jpg 768w\" sizes=\"auto, (max-width: 1392px) 100vw, 1392px\" \/><\/figure>\n\n\n\n<p>You can also see how save as \u201c<strong>step<\/strong>\u201d is done. You could easily make this macro save as an \u201c<strong>.stl<\/strong>\u201d I bet you\u2019re smart enough to figure that out. (Make sure to save it as a new script and make it its own button, so you can still make steps, too!).<\/p>\n\n\n\n<p><strong>How to Add These Macros as Buttons Inside Solidworks:&nbsp;<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-embed-wordpress wp-block-embed is-type-wp-embed is-provider-innova-systems\"><div class=\"wp-block-embed__wrapper\">\nhttps:\/\/www.innova-systems.co.uk\/solidworks-macro-button-tutorial\/\n<\/div><\/figure>\n\n\n\n<p>For the step export, you want to be in the part environment (modeling area) to add a button (as this is where your CAD file is).<\/p>\n\n\n\n<p>For export PDF, you want to be in the DWG environment (as this is where your SWDW is).<\/p>\n\n\n\n<p><strong>Edit these Macros:&nbsp;<\/strong><\/p>\n\n\n\n<p>Sw&gt;&gt;Tools&gt;&gt; Macro&gt;&gt;Edit&nbsp;<\/p>\n\n\n\n<p>Under the file location, copy and paste in a location of your choice for the output of both macros in between the quotes &#8220;<strong>your_file _location<\/strong>&#8220;:<\/p>\n\n\n\n<p>The reason this is hard-coded is to speed things up. Guiding you to select the directory doesn&#8217;t help speed you up. I only export stuff when I\u2019m sending it elsewhere (quality release, Fictiv, etc).<\/p>\n\n\n\n<p><strong>Note: <\/strong>You actually have to create a folder and copy its location. The code will not auto-generate this folder for you if it doesn&#8217;t exist. In Tables 1 and 2, I\u2019ve copied the code to show you in red highlighting where you need to update your code to work.&nbsp;<\/p>\n\n\n\n<p>Here is a screenshot of the edit tool from inside the Solidworks VBA edit window:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\" id=\"w-node-1fcf36a8b08d\"><img loading=\"lazy\" decoding=\"async\" width=\"924\" height=\"628\" data-src=\"https:\/\/www.fictiv.com\/wp-content\/uploads\/2020\/09\/5ed7e98de06e74bc18ce67c0_real-engineers-code_image04.jpg\" alt=\"\" class=\"wp-image-4873 lazyload\" data-srcset=\"https:\/\/www.fictiv.com\/wp-content\/uploads\/2020\/09\/5ed7e98de06e74bc18ce67c0_real-engineers-code_image04.jpg 924w, https:\/\/www.fictiv.com\/wp-content\/uploads\/2020\/09\/5ed7e98de06e74bc18ce67c0_real-engineers-code_image04-768x522.jpg 768w\" sizes=\"auto, (max-width: 924px) 100vw, 924px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Code Can Help You Get Work Done Faster<\/strong><\/h2>\n\n\n\n<p>I learned to code in college because I had to. Then, I learned it better because it was the only way I could handle all my TA and RA responsibilities, while also managing my own workload. That perspective then rolled into my work life because it was always the same\u2014too much to do, and not enough time. I encourage you to do the same, in order to maximize your efficiency and save you clicks (and save your wrists).<\/p>\n\n\n\n<p>Don\u2019t forget to <a href=\"https:\/\/www.fictiv.com\/tools\/coding-for-mechanical-engineers-supplementary-tools\">download the supplementary tools<\/a> to help you get started.<br><br>And speaking of efficiencies, Fictiv exists to help speed you up and alleviate you from frustrating admin work (!) so your smart engineering brain can be focused on creating the next big thing. So be sure to <a href=\"https:\/\/app.fictiv.com\/signup\">check out our digital manufacturing platform<\/a> for instant quotes, automated DfM, and access to a wide range of capabilities for mechanical parts through a single platform.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Go, Go, Go\u2014we\u2019ve all heard the inspirational and aspirational desire of upper management to get it done, get it done right, and as always, get it done faster. One way to be more efficient as an engineer is to learn to code. In this blog post, I hope to help convince you to start coding [&hellip;]<\/p>\n","protected":false},"author":76,"featured_media":4874,"parent":0,"menu_order":0,"template":"","fictiv_role":[29],"fictiv_topic":[160,28],"fictiv_industry":[],"fictiv_manufacturing_process":[],"coauthors":[44],"class_list":["post-4868","cpt_blog","type-cpt_blog","status-publish","has-post-thumbnail","hentry","fictiv_topic-engineering-workflow-tips","fictiv_topic-mechanical-design"],"aioseo_notices":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v24.2 (Yoast SEO v24.2) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Real Hardware Engineers Code: How to Use Code to Maximize Efficiency in Solidworks, Reporting &amp; More - Fictiv<\/title>\n<meta name=\"description\" content=\"One way to be more efficient as an engineer is to learn to code. In this blog post, I hope to help convince you to start coding in your mechanical engineering practice. At the end, I\u2019ll show you how to set up two of my favorite Macros inside of Solidworks to help you make parts faster.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.fictiv.com\/articles\/real-hardware-engineers-code-how-to-use-code-to-maximize-efficiency-in-solidworks-reporting-more\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Real Hardware Engineers Code: How to Use Code to Maximize Efficiency in Solidworks, Reporting &amp; More\" \/>\n<meta property=\"og:description\" content=\"One way to be more efficient as an engineer is to learn to code. In this blog post, I hope to help convince you to start coding in your mechanical engineering practice. At the end, I\u2019ll show you how to set up two of my favorite Macros inside of Solidworks to help you make parts faster.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.fictiv.com\/articles\/real-hardware-engineers-code-how-to-use-code-to-maximize-efficiency-in-solidworks-reporting-more\" \/>\n<meta property=\"og:site_name\" content=\"Fictiv\" \/>\n<meta property=\"article:modified_time\" content=\"2021-07-23T13:15:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.fictiv.com\/wp-content\/uploads\/2020\/09\/real-engineers-code-header.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1500\" \/>\n\t<meta property=\"og:image:height\" content=\"1000\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"8 minutes\" \/>\n\t<meta name=\"twitter:label2\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data2\" content=\"David Cagle\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.fictiv.com\/articles\/real-hardware-engineers-code-how-to-use-code-to-maximize-efficiency-in-solidworks-reporting-more\",\"url\":\"https:\/\/www.fictiv.com\/articles\/real-hardware-engineers-code-how-to-use-code-to-maximize-efficiency-in-solidworks-reporting-more\",\"name\":\"Real Hardware Engineers Code: How to Use Code to Maximize Efficiency in Solidworks, Reporting &amp; More - Fictiv\",\"isPartOf\":{\"@id\":\"https:\/\/www.fictiv.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.fictiv.com\/articles\/real-hardware-engineers-code-how-to-use-code-to-maximize-efficiency-in-solidworks-reporting-more#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.fictiv.com\/articles\/real-hardware-engineers-code-how-to-use-code-to-maximize-efficiency-in-solidworks-reporting-more#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.fictiv.com\/wp-content\/uploads\/2020\/09\/real-engineers-code-header.jpg\",\"datePublished\":\"2020-06-03T23:47:29+00:00\",\"dateModified\":\"2021-07-23T13:15:28+00:00\",\"description\":\"One way to be more efficient as an engineer is to learn to code. In this blog post, I hope to help convince you to start coding in your mechanical engineering practice. At the end, I\u2019ll show you how to set up two of my favorite Macros inside of Solidworks to help you make parts faster.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.fictiv.com\/articles\/real-hardware-engineers-code-how-to-use-code-to-maximize-efficiency-in-solidworks-reporting-more#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.fictiv.com\/articles\/real-hardware-engineers-code-how-to-use-code-to-maximize-efficiency-in-solidworks-reporting-more\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.fictiv.com\/articles\/real-hardware-engineers-code-how-to-use-code-to-maximize-efficiency-in-solidworks-reporting-more#primaryimage\",\"url\":\"https:\/\/www.fictiv.com\/wp-content\/uploads\/2020\/09\/real-engineers-code-header.jpg\",\"contentUrl\":\"https:\/\/www.fictiv.com\/wp-content\/uploads\/2020\/09\/real-engineers-code-header.jpg\",\"width\":1500,\"height\":1000},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.fictiv.com\/articles\/real-hardware-engineers-code-how-to-use-code-to-maximize-efficiency-in-solidworks-reporting-more#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.fictiv.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Articles\",\"item\":\"https:\/\/www.fictiv.com\/articles\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Real Hardware Engineers Code: How to Use Code to Maximize Efficiency in Solidworks, Reporting &amp; More\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.fictiv.com\/#website\",\"url\":\"https:\/\/www.fictiv.com\/\",\"name\":\"Fictiv\",\"description\":\"On-Demand Manufacturing, CNC Machining &amp; 3D Printing\",\"publisher\":{\"@id\":\"https:\/\/www.fictiv.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.fictiv.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.fictiv.com\/#organization\",\"name\":\"Fictiv\",\"url\":\"https:\/\/www.fictiv.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.fictiv.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.fictiv.com\/wp-content\/uploads\/2020\/09\/Fictiv-Logo-Green-1.png\",\"contentUrl\":\"https:\/\/www.fictiv.com\/wp-content\/uploads\/2020\/09\/Fictiv-Logo-Green-1.png\",\"width\":1284,\"height\":678,\"caption\":\"Fictiv\"},\"image\":{\"@id\":\"https:\/\/www.fictiv.com\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Real Hardware Engineers Code: How to Use Code to Maximize Efficiency in Solidworks, Reporting &amp; More - Fictiv","description":"One way to be more efficient as an engineer is to learn to code. In this blog post, I hope to help convince you to start coding in your mechanical engineering practice. At the end, I\u2019ll show you how to set up two of my favorite Macros inside of Solidworks to help you make parts faster.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.fictiv.com\/articles\/real-hardware-engineers-code-how-to-use-code-to-maximize-efficiency-in-solidworks-reporting-more","og_locale":"en_US","og_type":"article","og_title":"Real Hardware Engineers Code: How to Use Code to Maximize Efficiency in Solidworks, Reporting &amp; More","og_description":"One way to be more efficient as an engineer is to learn to code. In this blog post, I hope to help convince you to start coding in your mechanical engineering practice. At the end, I\u2019ll show you how to set up two of my favorite Macros inside of Solidworks to help you make parts faster.","og_url":"https:\/\/www.fictiv.com\/articles\/real-hardware-engineers-code-how-to-use-code-to-maximize-efficiency-in-solidworks-reporting-more","og_site_name":"Fictiv","article_modified_time":"2021-07-23T13:15:28+00:00","og_image":[{"width":1500,"height":1000,"url":"https:\/\/www.fictiv.com\/wp-content\/uploads\/2020\/09\/real-engineers-code-header.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"8 minutes","Written by":"David Cagle"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.fictiv.com\/articles\/real-hardware-engineers-code-how-to-use-code-to-maximize-efficiency-in-solidworks-reporting-more","url":"https:\/\/www.fictiv.com\/articles\/real-hardware-engineers-code-how-to-use-code-to-maximize-efficiency-in-solidworks-reporting-more","name":"Real Hardware Engineers Code: How to Use Code to Maximize Efficiency in Solidworks, Reporting &amp; More - Fictiv","isPartOf":{"@id":"https:\/\/www.fictiv.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.fictiv.com\/articles\/real-hardware-engineers-code-how-to-use-code-to-maximize-efficiency-in-solidworks-reporting-more#primaryimage"},"image":{"@id":"https:\/\/www.fictiv.com\/articles\/real-hardware-engineers-code-how-to-use-code-to-maximize-efficiency-in-solidworks-reporting-more#primaryimage"},"thumbnailUrl":"https:\/\/www.fictiv.com\/wp-content\/uploads\/2020\/09\/real-engineers-code-header.jpg","datePublished":"2020-06-03T23:47:29+00:00","dateModified":"2021-07-23T13:15:28+00:00","description":"One way to be more efficient as an engineer is to learn to code. In this blog post, I hope to help convince you to start coding in your mechanical engineering practice. At the end, I\u2019ll show you how to set up two of my favorite Macros inside of Solidworks to help you make parts faster.","breadcrumb":{"@id":"https:\/\/www.fictiv.com\/articles\/real-hardware-engineers-code-how-to-use-code-to-maximize-efficiency-in-solidworks-reporting-more#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.fictiv.com\/articles\/real-hardware-engineers-code-how-to-use-code-to-maximize-efficiency-in-solidworks-reporting-more"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.fictiv.com\/articles\/real-hardware-engineers-code-how-to-use-code-to-maximize-efficiency-in-solidworks-reporting-more#primaryimage","url":"https:\/\/www.fictiv.com\/wp-content\/uploads\/2020\/09\/real-engineers-code-header.jpg","contentUrl":"https:\/\/www.fictiv.com\/wp-content\/uploads\/2020\/09\/real-engineers-code-header.jpg","width":1500,"height":1000},{"@type":"BreadcrumbList","@id":"https:\/\/www.fictiv.com\/articles\/real-hardware-engineers-code-how-to-use-code-to-maximize-efficiency-in-solidworks-reporting-more#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.fictiv.com\/"},{"@type":"ListItem","position":2,"name":"Articles","item":"https:\/\/www.fictiv.com\/articles"},{"@type":"ListItem","position":3,"name":"Real Hardware Engineers Code: How to Use Code to Maximize Efficiency in Solidworks, Reporting &amp; More"}]},{"@type":"WebSite","@id":"https:\/\/www.fictiv.com\/#website","url":"https:\/\/www.fictiv.com\/","name":"Fictiv","description":"On-Demand Manufacturing, CNC Machining &amp; 3D Printing","publisher":{"@id":"https:\/\/www.fictiv.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.fictiv.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.fictiv.com\/#organization","name":"Fictiv","url":"https:\/\/www.fictiv.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.fictiv.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.fictiv.com\/wp-content\/uploads\/2020\/09\/Fictiv-Logo-Green-1.png","contentUrl":"https:\/\/www.fictiv.com\/wp-content\/uploads\/2020\/09\/Fictiv-Logo-Green-1.png","width":1284,"height":678,"caption":"Fictiv"},"image":{"@id":"https:\/\/www.fictiv.com\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.fictiv.com\/wp-json\/wp\/v2\/articles\/4868","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fictiv.com\/wp-json\/wp\/v2\/articles"}],"about":[{"href":"https:\/\/www.fictiv.com\/wp-json\/wp\/v2\/types\/cpt_blog"}],"author":[{"embeddable":true,"href":"https:\/\/www.fictiv.com\/wp-json\/wp\/v2\/users\/76"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.fictiv.com\/wp-json\/wp\/v2\/media\/4874"}],"wp:attachment":[{"href":"https:\/\/www.fictiv.com\/wp-json\/wp\/v2\/media?parent=4868"}],"wp:term":[{"taxonomy":"fictiv_role","embeddable":true,"href":"https:\/\/www.fictiv.com\/wp-json\/wp\/v2\/fictiv_role?post=4868"},{"taxonomy":"fictiv_topic","embeddable":true,"href":"https:\/\/www.fictiv.com\/wp-json\/wp\/v2\/fictiv_topic?post=4868"},{"taxonomy":"fictiv_industry","embeddable":true,"href":"https:\/\/www.fictiv.com\/wp-json\/wp\/v2\/fictiv_industry?post=4868"},{"taxonomy":"fictiv_manufacturing_process","embeddable":true,"href":"https:\/\/www.fictiv.com\/wp-json\/wp\/v2\/fictiv_manufacturing_process?post=4868"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/www.fictiv.com\/wp-json\/wp\/v2\/coauthors?post=4868"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}