Use this method to export the BOM report to various formats.
Cimatron 2026 or later
void Export(string iFilePath, interop.CimMdlrAPI.BOMTemplateType iType, interop.CimMdlrAPI.BOMExportOptions iExportOption, string iTemplateName, interop.CimMdlrAPI.BOMReportFormat iReportFormat, interop.CimMdlrAPI.ComponentsFilterOption iFilteringType, string[] iFolderNames);
def Export(iFilePath : string, iType : interop.CimMdlrAPI.BOMTemplateType, iExportOption : interop.CimMdlrAPI.BOMExportOptions, iTemplateName : string, iReportFormat : interop.CimMdlrAPI.BOMReportFormat, iFilteringType : interop.CimMdlrAPI.ComponentsFilterOption, iFolderNames : string[]) -> None
|
Return: int |
oIsWire
|
|
Input: string |
iFilePath - Full Path of the File without extension |
|
Input: interop.CimMdlrAPI.BOMTemplateType |
iType - Type of the template. cmXlsx Excel Files, cmXlsm Excel Files with Macro, cmRepx Multi Format,cmCSV CSV Files |
|
Input: interop.CimMdlrAPI.BOMExportOptions |
iExportOption - Choose Export option. Use can set Multiple option. |
|
Input: string |
iTemplateName - Name of the Template. |
|
Input: interop.CimMdlrAPI.BOMReportFormat |
Input: iReportFormat - Report Format Option. This option is useful when the template type is multi format. For other format set this option to cmNotReq. |
|
Input: interop.CimMdlrAPI.ComponentsFilterOption |
iFilteringType - This is filtering option to export the bom. cmNoFiltering = All entities are exported to Bom, cmVisibleOnly = Only visible Entities will be exported to Bom, cmByFolderorSubAssembly = Only Folder component will be export. Give names of the folder in the string array. |
|
Input: string[] |
iFolderNames - Varient that contains array of string of name of the folder |
None
Example 1 - Export To CSV Format without filteringExample 1 - Export To CSV Format without filtering
Example 2 - Export to Excel file includeing catalog componentsExample 2 - Export to Excel file includeing catalog components
Example 3 - Export Bom By Folder NamesExample 3 - Export Bom By Folder Names
