<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html
  SYSTEM "about:legacy-compat">
<html xmlns:mml = "http://www.w3.org/1998/Math/MathML" lang = "en"><head><meta charset = "UTF-8"/><meta name = "copyright" content = "(C) Copyright 2020"/><meta name = "DC.rights.owner" content = "(C) Copyright 2020"/><meta name = "DC.type" content = "task"/><meta name = "abstract" content = "If you are facing performance-related issues when loading Composer files (.smg or .smgXml) containing large amounts of Product Manufacturing Information (PMI), you can use the Composer PMI Remover to remove this PMI from specified files. This may help reduce loading time."/><meta name = "description" content = "If you are facing performance-related issues when loading Composer files (.smg or .smgXml) containing large amounts of Product Manufacturing Information (PMI), you can use the Composer PMI Remover to remove this PMI from specified files. This may help reduce loading time."/><meta name = "DC.relation" scheme = "URI" content = "cps-c-Tools-PMIRemovalTool.htm#cps-c-Tools-PMIRemovalTool"/><meta name = "DC.format" content = "HTML5"/><meta name = "DC.identifier" content = "cps-t-Tools-PMIRemovalToolUse"/><meta name = "DC.language" content = "en"/><link rel = "stylesheet" type = "text/css" href = "../DSDocUI_XML34.css"/><title>Using the Composer PMI Remover</title>
<script type = "text/javascript" src = "../DSDocUI_Highlight34.js">
  	/* */
  	</script></head><body onLoad = "highlightSearchTerms();" id = "cps-t-Tools-PMIRemovalToolUse">
<a name = "hj-top"> </a><a name = "ix-"> </a><table class = "table1" id = "table11"><tr><td><table class = "DocHeader"><tr><td class = "DocHeader1" colspan = "2"><h1>Using the Composer PMI Remover</h1></td></tr><tr><td class = "DocHeader4" colspan = "2"/></tr><tr><td class = "DocHeader3"><table class = "DocHeaderIntro" id = "table12"><tr><td class = "Intro1"><p class = "header"><p class = "abstract"><span class = "shortdesc"><span class = "ph">If
  you are facing performance-related issues when loading Composer files (.smg or
  .smgXml) containing large amounts of Product Manufacturing Information (PMI),
  you can use the Composer PMI Remover to remove this PMI from specified files.
  This may help reduce loading
  time.</span></span>

    
  </p>

</p></td></tr><tr><td class = "Intro2"><hr class = "header"/><span class = "run-in-beforeyoubegin">Before you begin: </span>The following must be installed on your computer:<ul class = "ul">
        <li class = "li">
          Windows Script Host: lets you run scripts.<div class = "note"><span class = "run-in.note">Note:
			</span><span class = "notecontent">This is installed by default on Windows operating systems.</span></div>
</li>
        <li class = "li">
          Microsoft XML Core Services (MSXML) 3.0
        or 6.0: allows some applications to build XML-based applications.<div class = "note"><span class = "run-in.note">Note:
			</span><span class = "notecontent">If Composer is installed on your computer, then MSXML should already be installed as part of the operating system prerequisites.</span></div>
</li><li class = "li">7-zip: lets you unzip .smg files (.smgXml files do not require unzipping).<div class = "note"><span class = "run-in.note">Note:
			</span><span class = "notecontent">You can download 7-zip  for free from http://www.7-zip.org. A 64-bit version is preferable.</span></div>
</li>
      </ul>
    </td></tr></table></td><td class = "DocHeader2"><table class = "DocTopicsSeeAlso" id = "table13"><tr><td class = "TopicsTitle">See Also</td></tr><tr><td><a title = "The Composer PMI Remover is provided as a tool external to the Composer application. It provides you with a way to strip Composer files out of Product Manufacturing Information (PMI), which is often responsible for performance issues at loading time." href = "cps-c-Tools-PMIRemovalTool.htm#cps-c-Tools-PMIRemovalTool">About the Composer PMI Remover</a></td></tr></table></td></tr></table>
  

  
  
  <div class = "body taskbody">
    <div class = "p"><!--xxx--></div>

    <section><ol class = "ol steps"><li class = "li step stepexpand">
        
          Open a command prompt window, and go to the <span class = "ph filepath filepath">Tools\Composer_PMI_Remover</span>  folder located in the Composer installation directory.
        
      </li><li class = "li step stepexpand">
        
          Run <kbd class = "ph userinput userinput">Composer_PMI_Remover "Path_to_Input_Folder" /o "Path_to_Output_Folder"</kbd>. All available arguments are described in the table below.
        <p><table class = "table"><caption/><colgroup><col style = "width:23.094688221709006%"/><col style = "width:23.094688221709006%"/><col style = "width:23.094688221709006%"/><col style = "width:30.71593533487298%"/></colgroup><thead class = "thead"><tr class = "row"><th class = "entry" id = "cps-t-Tools-PMIRemovalToolUse__entry__1">Argument</th><th class = "entry" id = "cps-t-Tools-PMIRemovalToolUse__entry__2">Usage</th><th class = "entry" id = "cps-t-Tools-PMIRemovalToolUse__entry__3">Description</th><th class = "entry" id = "cps-t-Tools-PMIRemovalToolUse__entry__4">Example</th></tr></thead><tbody class = "tbody"><tr class = "row"><td class = "entry" headers = "cps-t-Tools-PMIRemovalToolUse__entry__1">"Path_to_Input_Folder"</td><td class = "entry" headers = "cps-t-Tools-PMIRemovalToolUse__entry__2">Required</td><td class = "entry" headers = "cps-t-Tools-PMIRemovalToolUse__entry__3">Path to the folder containing the Composer documents (.smg, .smgXml) to process.</td><td class = "entry" headers = "cps-t-Tools-PMIRemovalToolUse__entry__4"><kbd class = "ph userinput userinput">Composer_PMI_Remover "C:\My Documents\Composer Data With PMI"</kbd></td></tr><tr class = "row"><td class = "entry" headers = "cps-t-Tools-PMIRemovalToolUse__entry__1">/o  "Path_to_Output_Folder"</td><td class = "entry" headers = "cps-t-Tools-PMIRemovalToolUse__entry__2">Optional (but recommended)</td><td class = "entry" headers = "cps-t-Tools-PMIRemovalToolUse__entry__3">Path to the folder where the processed Composer documents (.smg, .smgXml) will be written. Already-existing files will be overwritten.<table class = "Remark" id = "table132"><tr><td class = "Remark"><span class = "run-in.warning">Warning:
				</span><span class = "notecontent">By default, the output folder is set to the input folder, which means that input files will be overwritten if you do not specify this argument. We strongly recommend that you specify an output folder.</span></td></tr></table>
</td><td class = "entry" headers = "cps-t-Tools-PMIRemovalToolUse__entry__4"><kbd class = "ph userinput userinput">Composer_PMI_Remover "C:\My Documents\Composer Data With PMI" /o "C:\My Documents\Composer Data Without PMI" </kbd></td></tr><tr class = "row"><td class = "entry" headers = "cps-t-Tools-PMIRemovalToolUse__entry__1">/f levelFrom</td><td class = "entry" headers = "cps-t-Tools-PMIRemovalToolUse__entry__2">Optional</td><td class = "entry" headers = "cps-t-Tools-PMIRemovalToolUse__entry__3">Level, in the product structure tree, starting from which PMI will be deleted. The root node is at level 0. PMI should normally be under the root node, so its level should be 1 or more.<div class = "note collapse"><span class = "run-in.note">Note:
    		</span><span class = "notecontent">By default, all PMI are taken into account, starting from the root node.</span></div>
</td><td class = "entry" headers = "cps-t-Tools-PMIRemovalToolUse__entry__4"><kbd class = "ph userinput userinput">Composer_PMI_Remover "C:\My Documents\Composer Data With PMI" /o "C:\My Documents\Composer Data Without PMI" /f 2</kbd></td></tr><tr class = "row"><td class = "entry" headers = "cps-t-Tools-PMIRemovalToolUse__entry__1">/t levelTo</td><td class = "entry" headers = "cps-t-Tools-PMIRemovalToolUse__entry__2">Optional</td><td class = "entry" headers = "cps-t-Tools-PMIRemovalToolUse__entry__3">Level, in the product structure tree, up to which PMI will be deleted. <div class = "note collapse"><span class = "run-in.note">Note:
    		</span><span class = "notecontent">By default, all PMI are taken into account, up to the last child node.</span></div>
</td><td class = "entry" headers = "cps-t-Tools-PMIRemovalToolUse__entry__4"><kbd class = "ph userinput userinput">Composer_PMI_Remover "C:\My Documents\Composer Data With PMI" /o "C:\My Documents\Composer Data Without PMI" /f 2 /t 5</kbd></td></tr><tr class = "row"><td class = "entry" headers = "cps-t-Tools-PMIRemovalToolUse__entry__1">/7z "Path_to_7z.exe"</td><td class = "entry" headers = "cps-t-Tools-PMIRemovalToolUse__entry__2"><p>- May be required for .smg files</p><p>- Unnecessary for .smgXml files</p></td><td class = "entry" headers = "cps-t-Tools-PMIRemovalToolUse__entry__3">Path to 7z.exe (if required).<div class = "note collapse"><span class = "run-in.note">Note:
    		</span><span class = "notecontent">Specifying this argument is not necessary when 7z.exe has been properly installed on your computer (that is, in the majority of
cases).
If it has not been properly installed, then the Composer PMI Remover is unable to locate 7z.exe. In this case, only .smgXml files are processed and a message is displayed in the command prompt window to inform you that .smg files have been skipped. To process them, you must then specify this argument.
</span></div>
</td><td class = "entry" headers = "cps-t-Tools-PMIRemovalToolUse__entry__4"><kbd class = "ph userinput userinput">Composer_PMI_Remover "C:\My Documents\SMG Data With PMI" /o "C:\My Documents\SMG Data Without PMI" /7z "C:\Program Files\7-Zip\7z.exe</kbd></td></tr></tbody></table></p>
        <div class = "itemgroup stepresult">
          

          
        When the operation is over, the command prompt window displays information regarding the file size reduction of your documents.</div>
      </li></ol></section>
    
  </div>


  <div class = "related-links"/>
</td></tr></table><script type = "text/javascript" src = "../DSDocUI_Bottom34.js">/* */</script></body>
</html>
