Exports a BOM view.
Namespace:
Autodesk.iLogic.Interfaces
Assembly:
Autodesk.iLogic.Interfaces (in Autodesk.iLogic.Interfaces.dll) Version: 23.0
Syntax Sub Export (
viewName As String,
fileName As String,
fileFormat As FileFormatEnum,
Optional sheetName As String = ""
)
void Export(
string viewName,
string fileName,
FileFormatEnum fileFormat,
string sheetName = ""
)
Parameters
- viewName
- Type: SystemString
The name of the BOM view. This can be "Structured" or "Parts Only". - fileName
- Type: SystemString
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: SystemString
If the format is Excel, this is the name of the sheet to write to.
See Also