| Visual Basic | |
|---|---|
Function GetComputedBOM( _ ByVal oBomLayoutNameOrID As System.Object, _ ByVal lVersionNo As System.Integer, _ ByVal bsConfiguration As System.String, _ ByVal lEdmBomFlags As System.Integer _ ) As EdmBomView | |
| C# | |
|---|---|
EdmBomView GetComputedBOM( System.object oBomLayoutNameOrID, System.int lVersionNo, System.string bsConfiguration, System.int lEdmBomFlags ) | |
| C++/CLI | |
|---|---|
EdmBomView^ GetComputedBOM( & System.Object^ oBomLayoutNameOrID, & System.int lVersionNo, & System.String^ bsConfiguration, & System.int lEdmBomFlags ) | |
Parameters
- oBomLayoutNameOrID
- Name or ID of a Bill of Materials layout (see Remarks)
- lVersionNo
- Version of file for which to get the Bill of Materials; 0 or -1 to use the latest version
- bsConfiguration
- Name of the file configuration
- lEdmBomFlags
- Combination of EdmBomFlag bits
Return Value
IEdmBomViewSee the IEdmFile7 examples.
To specify oBomLayoutNameOrID, use IEdmBomMgr.GetBomLayouts to enumerate the existing Bill of Materials layouts.
- S_OK: The method successfully executed.
- S_FALSE: An argument is invalid.
SOLIDWORKS PDM Professional 2009