"Path_to_Input_Folder" | Required | Path to the folder containing the Composer documents (.smg, .smgXml) to process. | Composer_PMI_Remover "C:\My Documents\Composer Data With PMI" |
/o "Path_to_Output_Folder" | Optional (but recommended) | Path to the folder where the processed Composer documents (.smg, .smgXml) will be written. Already-existing files will be overwritten.
| Composer_PMI_Remover "C:\My Documents\Composer Data With PMI" /o "C:\My Documents\Composer Data Without PMI" |
/f levelFrom | Optional | 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. Note:
By default, all PMI are taken into account, starting from the root node.
| Composer_PMI_Remover "C:\My Documents\Composer Data With PMI" /o "C:\My Documents\Composer Data Without PMI" /f 2 |
/t levelTo | Optional | Level, in the product structure tree, up to which PMI will be deleted. Note:
By default, all PMI are taken into account, up to the last child node.
| Composer_PMI_Remover "C:\My Documents\Composer Data With PMI" /o "C:\My Documents\Composer Data Without PMI" /f 2 /t 5 |
/7z "Path_to_7z.exe" | - May be required for .smg files - Unnecessary for .smgXml files | Path to 7z.exe (if required). 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.
| 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 |