<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html
  SYSTEM "about:legacy-compat">
<html xmlns:mml = "http://www.w3.org/1998/Math/MathML" lang = "zh-tw"><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 = "如果您在載入包含大量「產品製造資訊」(PMI) 的 Composer 檔案 (.smg 或 .smgXml) 時遇到效能相關問題，可以使用 Composer PMI Remover 來從指定檔案中移除此 PMI。這可能有助於減少載入時間。"/><meta name = "description" content = "如果您在載入包含大量「產品製造資訊」(PMI) 的 Composer 檔案 (.smg 或 .smgXml) 時遇到效能相關問題，可以使用 Composer PMI Remover 來從指定檔案中移除此 PMI。這可能有助於減少載入時間。"/><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 = "zh-tw"/><link rel = "stylesheet" type = "text/css" href = "../DSDocUI_XML34.css"/><title>使用 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-&#xA;      "> </a><table class = "table1" id = "table11"><tr><td><table class = "DocHeader"><tr><td class = "DocHeader1" colspan = "2"><h1>使用 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">如果您在載入包含大量「產品製造資訊」(PMI) 的 Composer 檔案 (.smg 或 .smgXml) 時遇到效能相關問題，可以使用 Composer PMI Remover 來從指定檔案中移除此 PMI。這可能有助於減少載入時間。</span>
    </span>

    
  </p>

</p></td></tr><tr><td class = "Intro2"><hr class = "header"/><span class = "run-in-beforeyoubegin">在開始之前：</span>下列項目必須安裝在您的電腦中：<ul class = "ul"><li class = "li">Windows Script Host：可讓您執行指令碼。<div class = "note"><span class = "run-in.note">註:
			</span><span class = "notecontent">此項目預設安裝在 Windows 作業系統中。</span></div>
</li><li class = "li">Microsoft XML Core Services (MSXML) 3.0 或 6.0：允許一些應用程式建立 XML 式應用程式。<div class = "note"><span class = "run-in.note">註:
			</span><span class = "notecontent">如果您的電腦中已安裝 Composer，則表示應該已將 MSXML 作為作業系統先決條件的一部分安裝。</span></div>
</li><li class = "li">7-zip：可讓您解壓縮 .smg 檔案 (.smgXml 檔案不需要解壓縮)。<div class = "note"><span class = "run-in.note">註:
			</span><span class = "notecontent">您可以從 http://www.7-zip.org 免費下載 7-zip。建議使用 64 位元版本。</span></div>
</li></ul></td></tr></table></td><td class = "DocHeader2"><table class = "DocTopicsSeeAlso" id = "table13"><tr><td class = "TopicsTitle">另請參閱</td></tr><tr><td><a title = "Composer PMI Remover 作為 Composer 應用程式的外部工具提供。它為您提供一種將 Composer 檔案從產品製造資訊 (PMI) 中抽離出來的方法，這通常與載入時的效能問題有關。" href = "cps-c-Tools-PMIRemovalTool.htm#cps-c-Tools-PMIRemovalTool">關於 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">
        開啟指令提示視窗，然後前往 Composer 安裝目錄中的 <span class = "ph filepath filepath">Tools\Composer_PMI_Remover</span> 資料夾。
      </li><li class = "li step stepexpand">
        執行 <kbd class = "ph userinput userinput">Composer_PMI_Remover "Path_to_Input_Folder" /o "Path_to_Output_Folder"</kbd>。下表說明所有可用引數。
        <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">引數</th>
                  <th class = "entry" id = "cps-t-Tools-PMIRemovalToolUse__entry__2">使用</th>
                  <th class = "entry" id = "cps-t-Tools-PMIRemovalToolUse__entry__3">說明</th>
                  <th class = "entry" id = "cps-t-Tools-PMIRemovalToolUse__entry__4">範例</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">必要</td>
                  <td class = "entry" headers = "cps-t-Tools-PMIRemovalToolUse__entry__3">包含要處理之 Composer 文件 (.smg、.smgXml) 的資料夾路徑。</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">選用 (但建議使用)</td>
                  <td class = "entry" headers = "cps-t-Tools-PMIRemovalToolUse__entry__3">將寫入所處理 Composer 文件 (.smg、.smgXml) 的資料夾路徑。已經存在的檔案會遭到覆寫。<table class = "Remark" id = "table132"><tr><td class = "Remark"><span class = "run-in.warning">警告:
				</span><span class = "notecontent">依預設，會將輸出資料夾設定為輸入資料夾，這表示如果您未指定此引數，會覆寫輸入檔案。我們強烈建議您指定輸出資料夾。</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">選用</td>
                  <td class = "entry" headers = "cps-t-Tools-PMIRemovalToolUse__entry__3">層級，位於產品結構樹狀結構中，會從此層級開始刪除 PMI。根節點位於 0 層級。PMI 通常應位於根節點下，因此其層級應為 1 或以上。<div class = "note collapse"><span class = "run-in.note">註:
    		</span><span class = "notecontent">依預設，會將從根節點開始的所有 PMI 納入考量。</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">選用</td>
                  <td class = "entry" headers = "cps-t-Tools-PMIRemovalToolUse__entry__3">層級，位於產品結構樹狀結構中，會刪除高達此層級的 PMI。 <div class = "note collapse"><span class = "run-in.note">註:
    		</span><span class = "notecontent">依預設，會將高達最後一個子節點的所有 PMI 納入考量。</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>- .smg 檔案可能需要此引數</p>
                    <p>- .smgXml 檔案不需要此引數</p>
                  </td>
                  <td class = "entry" headers = "cps-t-Tools-PMIRemovalToolUse__entry__3">7z.exe 的路徑 (如果需要)。<div class = "note collapse"><span class = "run-in.note">註:
    		</span><span class = "notecontent">當 7z.exe 已正確安裝在您的電腦中時 (即在大多數情況下)，不需要指定此引數。若未正確安裝，則 Composer PMI Remover 會找不到 7z.exe。在此情況下，只會處理 .smgXml 檔案，且指令提示視窗中會顯示一則訊息，通知您已略過 .smg 檔案。若要對這些檔案進行處理，則您必須指定此引數。</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">當操作結束時，指令提示視窗會顯示有關文件檔案大小縮小的資訊。</div>
      </li></ol></section>
  </div>

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