
<!DOCTYPE html
  PUBLIC "html5" "about:legacy-compat">
<html xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="copyright" content="(C) Copyright 2012"/>
<meta name="DC.rights.owner" content="(C) Copyright 2012"/>
<meta name="DC.Type" content="task"/>
<meta name="DC.Title" content="Using the Composer PMI Remover"/>
<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="XHTML"/>
<meta name="DC.Identifier" content="cps-t-Tools-PMIRemovalToolUse"/>
<meta name="DC.Language" content="en"/>
<link rel="stylesheet" type="text/css" href="../DSDocXML.css"/>
<title xmlns:mml="http://www.w3.org/1998/Math/MathML">Using the Composer PMI Remover</title>
<script xmlns:mml="http://www.w3.org/1998/Math/MathML" type="text/javascript" src="../DSDocHighlight.js">
  	/* */
  	</script></head>
<body onLoad="highlightSearchTerms();" id="cps-t-Tools-PMIRemovalToolUse">
<a xmlns:mml="http://www.w3.org/1998/Math/MathML" name="hj-top"> </a><a xmlns:mml="http://www.w3.org/1998/Math/MathML" name="ix-"> </a><table xmlns:mml="http://www.w3.org/1998/Math/MathML" 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">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.<p>Note:
    	This is installed by default on Windows operating systems.</p>
</li>

        <li class="li">
          Microsoft XML Core Services (MSXML) 3.0
        or 6.0: allows some applications to build XML-based applications.<p>Note:
    	If Composer is installed on your computer, then MSXML should already be installed as part of the operating system prerequisites.</p>
</li>
<li class="li">7-zip: lets you unzip .smg files (.smgXml files do not require unzipping).<p>Note:
    	You can download 7-zip  for free from http://www.7-zip.org. A 64-bit version is preferable.</p>
</li>

      </ul>

    </td></tr></table></td><td class="DocHeader2"><table class="DocTopics" id="table13"><tr><td class="TopicsTitle">Related Topics</td></tr><tr><td><a href="cps-c-Tools-PMIRemovalTool.htm#cps-c-Tools-PMIRemovalTool" class="link" 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.">About the Composer PMI Remover</a></td></tr></table></td></tr></table>

  

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

    <ol class="ol steps">
      <li class="stepexpand"><p class="li step">
        
          Open a command prompt window, and go to the <span class="ph filepath">Tools\Composer_PMI_Remover</span>  folder located in the Composer installation directory.
        
      </p></li>

      <li class="stepexpand"><p class="li step">
        
          Run <kbd class="ph userinput">Composer_PMI_Remover "Path_to_Input_Folder" /o "Path_to_Output_Folder"</kbd>. All available arguments are described in the table below.
        <p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" class="table" frame="border" border="1" rules="all"><thead class="thead" align="left"><tr class="row"><th class="entry" valign="top" width="NaN" id="d376622e67">Argument</th>
<th class="entry" valign="top" width="NaN" id="d376622e69">Usage</th>
<th class="entry" valign="top" width="NaN" id="d376622e71">Description</th>
<th class="entry" valign="top" width="30.71593533487298%" id="d376622e73">Example</th>
</tr>
</thead>
<tbody class="tbody"><tr class="row"><td class="entry" valign="top" width="NaN" headers="d376622e67 ">"Path_to_Input_Folder"</td>
<td class="entry" valign="top" width="NaN" headers="d376622e69 ">Required</td>
<td class="entry" valign="top" width="NaN" headers="d376622e71 ">Path to the folder containing the Composer documents (.smg, .smgXml) to process.</td>
<td class="entry" valign="top" width="30.71593533487298%" headers="d376622e73 "><kbd class="ph userinput">Composer_PMI_Remover "C:\My Documents\Composer Data With PMI"</kbd></td>
</tr>
<tr class="row"><td class="entry" valign="top" width="NaN" headers="d376622e67 ">/o  "Path_to_Output_Folder"</td>
<td class="entry" valign="top" width="NaN" headers="d376622e69 ">Optional (but recommended)</td>
<td class="entry" valign="top" width="NaN" headers="d376622e71 ">Path to the folder where the processed Composer documents (.smg, .smgXml) will be written. Already-existing files will be overwritten.<p><span class="run-in">Warning:
		</span>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.</p>
</td>
<td class="entry" valign="top" width="30.71593533487298%" headers="d376622e73 "><kbd class="ph 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" valign="top" width="NaN" headers="d376622e67 ">/f levelFrom</td>
<td class="entry" valign="top" width="NaN" headers="d376622e69 ">Optional</td>
<td class="entry" valign="top" width="NaN" headers="d376622e71 ">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.<p>Note:
    	By default, all PMI are taken into account, starting from the root node.</p>
</td>
<td class="entry" valign="top" width="30.71593533487298%" headers="d376622e73 "><kbd class="ph 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" valign="top" width="NaN" headers="d376622e67 ">/t levelTo</td>
<td class="entry" valign="top" width="NaN" headers="d376622e69 ">Optional</td>
<td class="entry" valign="top" width="NaN" headers="d376622e71 ">Level, in the product structure tree, up to which PMI will be deleted. <p>Note:
    	By default, all PMI are taken into account, up to the last child node.</p>
</td>
<td class="entry" valign="top" width="30.71593533487298%" headers="d376622e73 "><kbd class="ph 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" valign="top" width="NaN" headers="d376622e67 ">/7z "Path_to_7z.exe"</td>
<td class="entry" valign="top" width="NaN" headers="d376622e69 "><p>- May be required for .smg files</p><p>- Unnecessary for .smgXml files</p></td>
<td class="entry" valign="top" width="NaN" headers="d376622e71 ">Path to 7z.exe (if required).<p>Note:
    	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.
</p>
</td>
<td class="entry" valign="top" width="30.71593533487298%" headers="d376622e73 "><kbd class="ph 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>
</div>
</p>
        <p> 
          

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

      
      
      
      
    </ol>

    
  </div>


  <div class="related-links"/>

</td></tr></table><script xmlns:mml="http://www.w3.org/1998/Math/MathML" type="text/javascript" src="../DSDocStats.js">/* */</script></body>
</html>