{"id":1320,"date":"2016-02-23T06:52:04","date_gmt":"2016-02-23T14:52:04","guid":{"rendered":"https:\/\/blogs.ssi-corporate.com\/waveform\/?p=1320"},"modified":"2020-10-23T09:39:50","modified_gmt":"2020-10-23T16:39:50","slug":"automate-generation-of-multiple-navisworks-models","status":"publish","type":"post","link":"https:\/\/www.ssi-corporate.com\/ja\/blog-waveform\/automate-generation-of-multiple-navisworks-models\/","title":{"rendered":"Automate Generation of Multiple Navisworks Models"},"content":{"rendered":"\n<figure class=\"wp-block-image\"><a href=\"https:\/\/www.ssi-corporate.com\/blog-waveform\/automate-generation-of-multiple-navisworks-models\/\"><img decoding=\"async\" src=\"https:\/\/www.ssi-corporate.com\/wp-content\/uploads\/2016\/02\/AutomateNavisworksModelGeneration2.png\" alt=\"AutomateNavisworksModelGeneration2\" class=\"wp-image-1332\"\/><\/a><\/figure>\n\n\n\n<p>Automating our current activities is the easiest way to improve the way we use our time and become more efficient. It does not require any additional education. Neither does it require implementing any new processes or Standard Operating Procedures. Just recently I was asked what is the best way to automate the generation of several Navisworks models which are used for different purposes throughout the organization. The request came requiring 6 specific Navisworks models that all referenced the exact same project but needed different information to be visually communicated depending on who was to consume it. This approach of having multiple Navisworks models for the same project is considered our best practice which is why I thought I would write a blog post and provide all the necessary setup you need to create multiple Navisworks models with a <em>single double click<\/em>.<\/p>\n\n\n\n<p>In the below examples I am automatically creating 4 different Navisworks models. These are just some examples but there is a virtually infinite amount of combinations you could create such as:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Model of only parts that have changed in the last week<\/li><li>Model used to visually identify what has been installed<\/li><li>Model with certain compartments removed to protect IP when sharing model<\/li><li>Model with ShipConstructor information stripped out to protect IP<\/li><li>Model to be used as a 4D simulation of the assembly sequence<\/li><li>Models combining files from other CAD applications or just pure native AutoCAD<\/li><\/ol>\n\n\n\n<!--more-->\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Included in this post<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Management Only<\/h3>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/www.ssi-corporate.com\/wp-content\/uploads\/2016\/02\/NavisworksManagement-630x405.png\" alt=\"NavisworksManagement\" class=\"wp-image-1325\"\/><\/figure><\/div>\n\n\n\n<p>A virtual model is key for management or department leads to see progress of the project. However, in some cases the view that you want to provide to management is not the raw work in progress model but some \u201cclean\u201d version of it.<\/p>\n\n\n\n<p>There are several ways to create this management friendly Navisworks model. One of the easiest ways is to have a production drawing which is only updated with the current work in progress when it is determined appropriate and then cleaned up.<\/p>\n\n\n\n<p>In the example I provide below I am using Product Hierarchy drawings as my clean version.<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Engineering \u2013 Entire Project<\/h3>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/www.ssi-corporate.com\/wp-content\/uploads\/2016\/02\/NavisworksEngineering1-630x405.png\" alt=\"NavisworksEngineering1\" class=\"wp-image-1324\"\/><\/figure><\/div>\n\n\n\n<p>This is the most obvious and what the majority of companies are, or should, be doing. The Navisworks model created in this version will be linked to the source ShipConstructor drawings allowing any designer to be able to select a part in Navisworks and switch to the ShipConstructor drawing automatically.<\/p>\n\n\n\n<p>I use PublisherLT to allow me to generate this model and ensure all my parts are visible as well as have the drawing options that I want (solids, bevels, no marking text, no flow direction, no free ends, etc.)<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Welds<\/h3>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/www.ssi-corporate.com\/wp-content\/uploads\/2016\/02\/NavisworksWelds-630x406.png\" alt=\"NavisworksWelds\" class=\"wp-image-1327\"\/><\/figure><\/div>\n\n\n\n<p>Visually seeing the welds in Navisworks provides so much value to ensure all welds have been applied with the correct standard. It also is used to visually see progress of the production of welds on the shop floor.<\/p>\n\n\n\n<p>A separate Navisworks model is created in the example which can be combined with any other Navisworks model if required.<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Engineering \u2013 Per Unit\/Zone\/Person<\/h3>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/www.ssi-corporate.com\/wp-content\/uploads\/2016\/02\/NavisworksUnit-630x406.png\" alt=\"NavisworksUnit\" class=\"wp-image-1326\"\/><\/figure><\/div>\n\n\n\n<p>It is often that you or a specific designer will require only a subset of the entire project. This can be a specific unit or grand block, a combination of systems, or a model for each person of the area they are currently working in. The possibilities are endless.<\/p>\n\n\n\n<p>In this example I have created a Navisworks Model per Unit.<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Naviswork Batch Utility Vs. PublisherLT<\/h2>\n\n\n\n<p>I know there are some of you who use Navisworks Batch Utility to generate your Navisworks models and even though it is a very powerful and useful tool there are some limitations which is why I decided not to use it. The main reason is that by using PublisherLT I am able to set up the files the way I want them before generating the Navisworks model automatically. I can ensure all parts are unhidden, or specific layers are on\/off or even change the display options of parts to get the solid and bevel representation. All this setup is configured in the PublisherLT operation so I never need to worry about doing any pre-setup.<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">How To Get Started<\/h2>\n\n\n\r\n    <span id=\"\" class=\"anchor\"><\/span>\r\n    <div class=\"video embed-responsive embed-responsive-16by9\" >\r\n      <iframe loading=\"lazy\" width=\"560\" height=\"315\" src=\"https:\/\/www.youtube.com\/embed\/eb6aWEO0PtI?rel=0\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>\r\n    <\/div>\r\n  \n\n\n<p>For those who do not have access to YouTube you can access the videos <a href=\"http:\/\/bit.ly\/1oCVqIW\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>.<\/p>\n\n\n\n<p><em>If you do not have an SSI Nexus account signup for free <a href=\"https:\/\/www.ssi-corporate.com\/ssi-learning\/nexus\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">here<\/a><\/em><\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1: Extract and Copy Files<\/h3>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/www.ssi-corporate.com\/wp-content\/uploads\/2016\/02\/EnterprisePlatformAutomationFolder.png\" alt=\"EnterprisePlatformAutomationFolder\" class=\"wp-image-1328\"\/><\/figure><\/div>\n\n\n\n<p>Extract the package provided at the bottom of the post and copy the EnterprisePlatform folder under your root folder of your project.<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2 : Edit Bat files<\/h3>\n\n\n\n<p>I have created a batch (.bat) file that will execute PublisherLT with all the correct parameters. This means it is easy for anyone to initiate the generation of the files by simply double clicking on the .bat file. You can also use Windows Scheduler to schedule the generation of these files throughout the day or the end of the day. <a href=\"http:\/\/windows.microsoft.com\/en-ca\/windows\/schedule-task#1TC=windows-7\" target=\"_blank\" rel=\"noreferrer noopener\">http:\/\/windows.microsoft.com\/en-ca\/windows\/schedule-task#1TC=windows-7<\/a><\/p>\n\n\n\n<p>You will need to edit each of the .bat files under the EnterprisePlatform\\Automation\\ folder. You will need to change items highlighted below with the properties of your project.<\/p>\n\n\n\n<p><strong>Note<\/strong>:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>The pro file needs to have the extension of &#8220;.pro&#8221;<\/li><li>The project path needs to end with a &#8216;\\&#8217;<\/li><\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>SET ProjectPROName= SSI_Training.pro\nSET ProjectPath= E:\\ShipConstructor Projects\\SSI\\Training\\\nSET UserName=Denis\nSET Password=\nSET UseIntegrated=YES\nSET PublisherLT_EXE=C:\\Program Files\\SSI\\ShipConstructor 2016 R2\\arx_13\\PublisherLT.exe<\/code><\/pre>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Edit Unit Load Criteria<\/h3>\n\n\n\n<p>Since each one of you will have different unit names for your project you will be required to change the unit names load criteria so that the automatic generation finds the drawings within a unit in your project. You will need to edit files <em>LoadAllDrawingsInU01.xml<\/em> and <em>LoadAllDrawingsInU02.xml<\/em> and enter the correct units names.<\/p>\n\n\n\n<p>You can change the file names and add more units since your project will have many more units; however, you will also need to edit the file <em>Waveform_NavisworksWorkpackage.bat<\/em> to reference the new file names.<\/p>\n\n\n\n<p>For the first test I would just edit the contents (not the file name) of <em>LoadAllDrawingsInU01.xml<\/em> and <em>LoadAllDrawingsInU02.xml<\/em> by changing the highlight section to a unit name in your project.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;LoadCriteria>\n&lt;Drawings>\n&lt;FilterUnits>\n&lt;Unit>U02&lt;\/Unit>\n&lt;\/FilterUnits>\n&lt;\/Drawings>\n&lt;\/LoadCriteria><\/code><\/pre>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Copy Operations files<\/h3>\n\n\n\n<p>I have added an EnterprisePlatform 2016 R2 operation file which contains several operations I use to generate Navisworks models. If you have not customized your operations.xml file, then you can simply copy the <em>operations.xml<\/em> file in the provided package to C:\\Users\\USERNAME\\AppData\\Roaming\\SSI\\EnterprisePlatform 2016 R2\\<\/p>\n\n\n\n<p>If you have edited your <em>operations.xml<\/em> file, you can open the one I provided and copy all the operations which are prefixed with \u201cwaveform.\u201d<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Generate Navisworks Models<\/h2>\n\n\n\n<p>After the above is set up your project is ready to have Navisworks models generated with a click of an icon. If you double-click the <em>Waveform_NavisworksWorkpackage.bat<\/em> then the process will start and depending on your project can take 20min to 8 hours.<\/p>\n\n\n\n<p>The process I used is not really optimized since I had to make it general to work for the majority of my readers\u2019 projects. However, the process can take significantly less time by parallelizing some of the tasks. If you are interested in improving performance for your specific use case, I would be happy to help you out.<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Output: Navisworks Models<\/h3>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/www.ssi-corporate.com\/wp-content\/uploads\/2016\/02\/EnterprisePlatformAutomationOutputFolder-630x474.png\" alt=\"EnterprisePlatformAutomationOutputFolder\" class=\"wp-image-1330\"\/><\/figure><\/div>\n\n\n\n<p>The Navisworks files generated are placed in the PublishedFiles folder under your projects root directory. This can be changed to any location which you have access to. It is common that the files will be generated to different network locations for different stakeholders.<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Supporting Files<\/h2>\n\n\n\n<p>Download the files <a href=\"http:\/\/bit.ly\/218oGbw\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>.<\/p>\n\n\n\n<p><em>If you do not have an SSI Nexus account signup for free <a href=\"https:\/\/www.ssi-corporate.com\/ssi-learning\/nexus\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">here<\/a><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Automating our current activities is the easiest way to improve the way we use our time and become more effici [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":16063,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[440,442,443,444,446],"tags":[345],"story":[9],"vertical":[],"productline":[21],"stream":[5],"content-type":[640],"language":[635],"phase":[],"partner-type":[],"class_list":["post-1320","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-best-practices","category-enterpriseplatform","category-publisherlt","category-shipconstructor","category-tips-tricks","tag-navisworks","story-scale","productline-shipconstructor","stream-waveform","content-type-insights","language-english"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.ssi-corporate.com\/ja\/wp-json\/wp\/v2\/posts\/1320","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ssi-corporate.com\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ssi-corporate.com\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ssi-corporate.com\/ja\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ssi-corporate.com\/ja\/wp-json\/wp\/v2\/comments?post=1320"}],"version-history":[{"count":2,"href":"https:\/\/www.ssi-corporate.com\/ja\/wp-json\/wp\/v2\/posts\/1320\/revisions"}],"predecessor-version":[{"id":37537,"href":"https:\/\/www.ssi-corporate.com\/ja\/wp-json\/wp\/v2\/posts\/1320\/revisions\/37537"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ssi-corporate.com\/ja\/wp-json\/wp\/v2\/media\/16063"}],"wp:attachment":[{"href":"https:\/\/www.ssi-corporate.com\/ja\/wp-json\/wp\/v2\/media?parent=1320"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ssi-corporate.com\/ja\/wp-json\/wp\/v2\/categories?post=1320"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ssi-corporate.com\/ja\/wp-json\/wp\/v2\/tags?post=1320"},{"taxonomy":"story","embeddable":true,"href":"https:\/\/www.ssi-corporate.com\/ja\/wp-json\/wp\/v2\/story?post=1320"},{"taxonomy":"vertical","embeddable":true,"href":"https:\/\/www.ssi-corporate.com\/ja\/wp-json\/wp\/v2\/vertical?post=1320"},{"taxonomy":"productline","embeddable":true,"href":"https:\/\/www.ssi-corporate.com\/ja\/wp-json\/wp\/v2\/productline?post=1320"},{"taxonomy":"stream","embeddable":true,"href":"https:\/\/www.ssi-corporate.com\/ja\/wp-json\/wp\/v2\/stream?post=1320"},{"taxonomy":"content-type","embeddable":true,"href":"https:\/\/www.ssi-corporate.com\/ja\/wp-json\/wp\/v2\/content-type?post=1320"},{"taxonomy":"language","embeddable":true,"href":"https:\/\/www.ssi-corporate.com\/ja\/wp-json\/wp\/v2\/language?post=1320"},{"taxonomy":"phase","embeddable":true,"href":"https:\/\/www.ssi-corporate.com\/ja\/wp-json\/wp\/v2\/phase?post=1320"},{"taxonomy":"partner-type","embeddable":true,"href":"https:\/\/www.ssi-corporate.com\/ja\/wp-json\/wp\/v2\/partner-type?post=1320"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}