.NET Framework Class Library
BOM.ExcelBom2 Method

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > .NET API > MwPDMApi Namespace > BOM Class > BOM Methods >

.NET Framework Class Library
BOM.ExcelBom2 Method

Creates the Bom as Excel BOM file

Namespace: MwPDMApi
Assembly:  MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

Visual Basic

Public Function ExcelBom2 ( _

uid As String, _
parameterFile As String, _
Optional excelFileName As String = "", _
Optional multiplier As Long = 1 _
) As String

C#

public string ExcelBom2(

string uid,
string parameterFile,
string excelFileName = "",
long multiplier = 1
)

Visual C++

public:

String^ ExcelBom2(
String^ uid,
String^ parameterFile,
String^ excelFileName = L"",
long long multiplier = 1
)

JavaScript

function excelBom2(uid, parameterFile, excelFileName, multiplier);

Parameters

uid

Type: System.String
unique_id of the assembly

parameterFile

Type: System.String
full pathname of the parameter file

excelFileName (Optional)

Type: System.String
Optional. To set the Excel BOM filename preemptively

multiplier (Optional)

Type: System.Int64
Optional. To set the multiplier factor

Return Value

Excel BOM filename

Remarks

Available starting from R15 release.

See Also

BOM Class

BOM Members

MwPDMApi Namespace