Exports a BOM view.
Namespace: Autodesk.iLogic.Interfaces
Assembly: Autodesk.iLogic.Interfaces (in Autodesk.iLogic.Interfaces.dll) Version: 30.0
Syntax
VB
Sub Export ( viewName As String, fileName As String, fileFormat As FileFormatEnum, Optional sheetName As String = "" )
C#
void Export( string viewName, string fileName, FileFormatEnum fileFormat, string sheetName = "" )
Parameters
- viewName
- Type: System.String
The name of the BOM view. This can be "Structured" or "Parts Only". - fileName
- Type: System.String
The name of the file to be written. This can be a relative or absolute path. - fileFormat
- Type: FileFormatEnum
The file format. - sheetName (Optional)
- Type: System.String
If the format is Excel, this is the name of the sheet to write to.