277 lines
56 KiB
HTML
277 lines
56 KiB
HTML
<html xmlns:mshelp="http://msdn.microsoft.com/mshelp">
|
|
<head>
|
|
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
|
|
<meta content="history" name="save">
|
|
<meta content="Innovasys Document! X (http://www.innovasys.com)" name="GENERATOR">
|
|
<title>IEdmBomMgr3 Interface</title>
|
|
<link href="stylesheets/dotnet2005.css" type="text/css" rel="stylesheet">
|
|
<script src="script/dotnet2005.js" type="text/javascript">
|
|
</script><xml>
|
|
<MSHelp:Keyword Index="F" Term="EPDM.Interop.epdm.IEdmBomMgr3" />
|
|
<MSHelp:Attr Name="DevLang" Value="CSharp" />
|
|
<MSHelp:Attr Name="DevLang" Value="VB" />
|
|
<MSHelp:Attr Name="DevLang" Value="JScript" />
|
|
<MSHelp:Attr Name="TopicType" Value="kbSyntax"/>
|
|
<MSHelp:Attr Name="LinkGroup" Value="Help"/>
|
|
<MSHelp:Attr Name="Locale" Value="kbEnglish"/>
|
|
<MSHelp:Attr Name="HelpPriority" Value="1"/>
|
|
</xml>
|
|
|
|
|
|
<script src="script/hs-expandcollapse.js" type="text/javascript"></script>
|
|
<script src="script/hs-enlargeimage.js" type="text/javascript"></script>
|
|
<script src="script/swfobject.js" type="text/javascript"></script>
|
|
<script src="script/hs-common.js" type="text/javascript"></script>
|
|
<script src="script/hs-heading-expandcollapse.js" type="text/javascript"></script>
|
|
<script src="script/hs-tabstrip.js" type="text/javascript"></script>
|
|
</head>
|
|
|
|
<body id="dxBody" topmargin="0">
|
|
<form>
|
|
<input class="userDataStyle" id="userDataCache" type="hidden" name="userDataCache"> <input id="hiddenScrollOffset" type="hidden" name=
|
|
"hiddenScrollOffset"> <img id="collapseImage" style="DISPLAY: none; WIDTH: 0px; HEIGHT: 0px" src="dotnetimages/collapse.gif"> <img id="expandImage"
|
|
style="DISPLAY: none; WIDTH: 0px; HEIGHT: 0px" src="dotnetimages/expand.gif"> <img id="collapseAllImage" style="DISPLAY: none; WIDTH: 0px; HEIGHT: 0px"
|
|
src="dotnetimages/collapse.gif"> <img id="expandAllImage" style="DISPLAY: none; WIDTH: 0px; HEIGHT: 0px" src="dotnetimages/expand.gif"> <img id=
|
|
"dropDownImage" style="DISPLAY: none; WIDTH: 0px; HEIGHT: 0px" src="dotnetimages/drpdown.gif"> <img id="dropDownHoverImage" style=
|
|
"DISPLAY: none; WIDTH: 0px; HEIGHT: 0px" src="dotnetimages/drpdown_orange.gif"> <img id="copyImage" style="DISPLAY: none; WIDTH: 0px; HEIGHT: 0px" src=
|
|
"dotnetimages/copycode.gif"> <img id="copyHoverImage" style="DISPLAY: none; WIDTH: 0px; HEIGHT: 0px" src="dotnetimages/copycodeHighlight.gif">
|
|
|
|
</form>
|
|
|
|
<div id="pagetop">
|
|
|
|
|
|
<table id="pagetoptable1" width="100%">
|
|
<tbody>
|
|
<tr id="pagetoptable1row1">
|
|
<td align="left"><span id="projecttitle">SOLIDWORKS PDM Professional API Help</span></td>
|
|
|
|
<td align="right"><span id="feedbacklink"><a href="mailto:apihelp.feedback@3ds.com?subject=Documentation Feedback: EPDM.Interop.epdm~EPDM.Interop.epdm.IEdmBomMgr3.html">Send Feedback</a></span></td>
|
|
</tr>
|
|
|
|
<tr id="pagetoptable1row2">
|
|
<td align="left" colspan="2"><span id="pagetitle">IEdmBomMgr3 Interface</span></td>
|
|
</tr>
|
|
|
|
<tr id="pagetoptable1row3">
|
|
<td colspan="2"><a onclick="javascript:openSectionById('seeAlsoSectionHeader');" href="#seealsobookmark">
|
|
See Also</a>
|
|
<a href="EPDM.Interop.epdm~EPDM.Interop.epdm.IEdmBomMgr3_members.html">Members</a>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<table id="pagetoptable2" cellspacing="0" cellpadding="0" width="100%">
|
|
<tbody>
|
|
<tr>
|
|
<td><span id="toggleExpandedAll"><img class="toggleAll" id="toggleExpandedAllImage" src="dotnetimages/collapse.gif"> <label id=
|
|
"collapseAllLabel" style="DISPLAY: none" for="toggleExpandedAllImage">Collapse All</label> <label id="expandAllLabel" style="DISPLAY: none" for="toggleExpandedAllImage">
|
|
Expand All</label></span> <span id="languageFilterToolTip"
|
|
onmouseover='document.getElementById("languageFilterImage").src=document.getElementById("dropDownHoverImage").src;' style="CURSOR: default"
|
|
onfocusout='document.getElementById("languageFilterImage").src=document.getElementById("dropDownImage").src;' onclick=
|
|
"showBox('dxlanguagemenu',event,document.getElementById('languageFilterImage'))" onfocusin=
|
|
'document.getElementById("languageFilterImage").src=document.getElementById("dropDownHoverImage").src;' onmouseout=
|
|
'document.getElementById("languageFilterImage").src=document.getElementById("dropDownImage").src;'><img id="languageFilterImage" src=
|
|
"dotnetimages/drpdown.gif"> <label id="showAllLabel" style="DISPLAY: none" for="languageFilterImage">
|
|
Language Filter: All</label> <label id="multipleLabel" style=
|
|
"DISPLAY: none" for="languageFilterImage">Language Filter: Multiple</label>
|
|
|
|
<label id="VBLabel" for="languageFilterImage" style="display: none;">Language Filter: Visual Basic</label>
|
|
<label id="CSLabel" for="languageFilterImage" style="display: none;">Language Filter: C#</label>
|
|
<label id="CPP2005Label" for="languageFilterImage" style="display: none;">Language Filter: C++/CLI</label>
|
|
</span></td>
|
|
</tr>
|
|
</tbody>
|
|
</table><table width="100%" id="pagetopbreadcrumbs" cellspacing="0" cellpadding="0"><tr><td>
|
|
<a href="EPDM.Interop.epdm~EPDM.Interop.epdm_namespace.html">EPDM.Interop.epdm Namespace</a>
|
|
: IEdmBomMgr3 Interface</td></tr></table>
|
|
|
|
<div class="dxpopupbubble" id="dxlanguagemenu">
|
|
|
|
<input id="VBCheckbox" type="checkbox" name="languageFilter" onClick="setLanguage(this)" />
|
|
<label class="languageFilter" for="VBCheckbox">
|
|
Visual Basic
|
|
</label>
|
|
<br /><input id="CSCheckbox" type="checkbox" name="languageFilter" onClick="setLanguage(this)" />
|
|
<label class="languageFilter" for="CSCheckbox">
|
|
C#
|
|
</label>
|
|
<br /><input id="CPP2005Checkbox" type="checkbox" name="languageFilter" onClick="setLanguage(this)" />
|
|
<label class="languageFilter" for="CPP2005Checkbox">
|
|
C++/CLI
|
|
</label>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div id="pagebody" valign="bottom">
|
|
<a name="topBookmark"></a>
|
|
|
|
<div id="mainbody">
|
|
<div class="saveHistory" id="allHistory" onsave="saveAll()" onload="loadAll()"></div>
|
|
Allows you to add a SOLIDWORKS Bill of Materials (BOM) to a non-SOLIDWORKS document.
|
|
</br><b>NOTE:</b> Click the <b>Members</b> link, located near the top of the topic, to see this interface's methods and properties.</br>
|
|
<h1 class="heading"><span class="expandcollapse" tabindex="0"><img id="syntaxToggle" class="toggle" name="toggleSwitch" src="dotnetimages/collapse.gif"></img>Syntax</span></h1><div id="syntaxSection" class="section" name="collapseableSection"><DIV class=LanguageSpecific id=Syntax_VB><table class="syntaxtable" width="100%" cellpadding="0" cellspacing="0"><tr><th>Visual Basic</th><th> </th></tr><tr><td colspan="2"><pre>Public Interface IEdmBomMgr3
|
|
Inherits <a href="EPDM.Interop.epdm~EPDM.Interop.epdm.IEdmBomMgr.html">IEdmBomMgr</a>, <a href="EPDM.Interop.epdm~EPDM.Interop.epdm.IEdmBomMgr2.html">IEdmBomMgr2</a> </pre></tr></table></div>
|
|
<DIV class=LanguageSpecific id=Syntax_CS><table class="syntaxtable" width="100%" cellpadding="0" cellspacing="0"><tr><th>C#</th><th> </th></tr><tr><td colspan="2"><pre>public interface IEdmBomMgr3 : <a href="EPDM.Interop.epdm~EPDM.Interop.epdm.IEdmBomMgr.html">IEdmBomMgr</a>, <a href="EPDM.Interop.epdm~EPDM.Interop.epdm.IEdmBomMgr2.html">IEdmBomMgr2</a> </pre></tr></table></div>
|
|
<DIV class=LanguageSpecific id=Syntax_CPP2005><table class="syntaxtable" width="100%" cellpadding="0" cellspacing="0"><tr><th>C++/CLI</th><th> </th></tr><tr><td colspan="2"><pre>public interface class IEdmBomMgr3 : public <a href="EPDM.Interop.epdm~EPDM.Interop.epdm.IEdmBomMgr.html">IEdmBomMgr</a>, <a href="EPDM.Interop.epdm~EPDM.Interop.epdm.IEdmBomMgr2.html">IEdmBomMgr2</a> </pre></tr></table></div>
|
|
</div>
|
|
<a name="exampleBookmark"></a>
|
|
<h1 class="heading"><span class="expandcollapse" tabindex="0"><img id="exampleToggle" class="toggle" name="toggleSwitch" src="dotnetimages/collapse.gif"></img>Example</span></h1><div id="exampleSection" class="section" name="collapseableSection"><P>//C# console application:</P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: green'>//----------------------------------------------------------------------------</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: green'>// Preconditions:</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: green'>// 1. Start Microsoft Visual Studio.</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: green'>//<SPAN style="mso-spacerun: yes"> </SPAN> a. Click <STRONG>File > New > Project > Visual C# > Console Applicat</STRONG>ion.</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: green'>//<SPAN style="mso-spacerun: yes"> </SPAN> b. Type Search in Name.</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: green'>//<SPAN style="mso-spacerun: yes"> </SPAN> c. Click <STRONG>Browse</STRONG> and navigate to the folder where to create the project.</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: green'>//<SPAN style="mso-spacerun: yes"> </SPAN> d. Click <STRONG>OK</STRONG>.</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: green'>//<SPAN style="mso-spacerun: yes"> </SPAN> e. Click <STRONG>Show All Files</STRONG> in the Solution Explorer toolbar and expand</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: green'>//<SPAN style="mso-spacerun: yes"> </SPAN> <STRONG>Program.cs</STRONG> in the Solution Explorer.</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: green'>// f. Replace the code in <STRONG>Program.cs</STRONG> with the code below.</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: green'>//<SPAN style="mso-spacerun: yes"> </SPAN> g. Change the namespace to match your setup.</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: green'>// 2. Add <STRONG>EPDM.Interop.epdm.dll</STRONG> and <STRONG>EPDM.Interop.EPDMResultCode</STRONG> as references <BR>// (right-click the project </SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: green'>name in the Solution Explorer, click <STRONG>Add Reference</STRONG>, click</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: green'>//<SPAN style="mso-spacerun: yes"> </SPAN> <STRONG>Assemblies > Framework</STRONG> in the left-side panel, browse to the top folder of</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: green'>//<SPAN style="mso-spacerun: yes"> </SPAN> your SOLIDWORKS PDM Professional installation, locate and select</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: green'>//<SPAN style="mso-spacerun: yes"> </SPAN> <STRONG>EPDM.Interop.epdm.dll</STRONG>, click <STRONG>Open</STRONG>, click <STRONG>Add</STRONG>, and click <STRONG>Close</STRONG>).</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: green'>// 3. Change the userName, vaultName, swBom.RefDocID, swBom.RefCfgs, swBom.SheetName,<BR>// AddSWBom method parameters, and swRow property assignments </SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: green'>in the code <BR>// to match your vault and the document to which you want to add this BOM.</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: green'>// 4. Click <STRONG>Debug > Start Debugging</STRONG> or press F5.</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: green'>//</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: green'>// Postconditions: Press a key when prompted in the console.</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: green'>//----------------------------------------------------------------------------<BR></SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: green'>//Program.cs<BR></SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>using</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>System;</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>using</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>System.Collections.Generic;</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>using</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>System.Linq;</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>using</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>System.Text;</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>using</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>System.Threading.Tasks;</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>using</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>EPDM.Interop.epdm;</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>using</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>EPDM.Interop.EPDMResultCode;</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>using</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>System.Windows.Forms;</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>namespace</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>SPR_1207428</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>{</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN></SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>class</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #2b91af'>Program</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> {</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN></SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>const</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>int</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>LVCFMT_CENTER = 2;</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN></SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>const</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>int</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>LVCFMT_RIGHT = 1;</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN></SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN></SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>static</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>string</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>userName =</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #a31515'>"Admin"</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>;</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN></SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>static</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>string</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>vaultName =</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #a31515'>"2022_A1_B291"</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>;<BR></SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN></SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>static</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>void</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>Main(</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>string</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>[] args)</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> {</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> StringBuilder sb =</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>new</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>StringBuilder();</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN></SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>try</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> {</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> sb.AppendFormat(</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #a31515'>"UserName: {0}"</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>, userName).AppendLine();</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> sb.AppendFormat(</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #a31515'>"VaultName: {0}"</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>, vaultName).AppendLine();</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> IEdmVault11 vault = (IEdmVault11)(</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>new</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>EdmVault5());</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN></SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>if</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>(!vault.IsLoggedIn)</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> vault.Login(userName,</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #a31515'>""</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>, vaultName);</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> IEdmBomMgr3 bomMgr = (IEdmBomMgr3)vault.<STRONG>CreateUtility</STRONG>(EdmUtility.EdmUtil_BomMgr);</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> IEdmSWBom swBom = bomMgr.<STRONG>CreateEmptySWBom</STRONG>();</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> swBom.<STRONG>Name</STRONG> =</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #a31515'>"Custom SWBom 7"</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>;</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> swBom.<STRONG>TableType</STRONG> = 0;</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> swBom.<STRONG>StartNumber</STRONG> = 1;</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> swBom.<STRONG>IncrementNumber</STRONG> = 1;</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> swBom.<STRONG>RefCfgs</STRONG> =</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #a31515'>"Default"</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>;</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> <SPAN style="mso-spacerun: yes"> </SPAN>swBom.<STRONG>RefDocID</STRONG> = 1553;</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> swBom.<STRONG>SheetName</STRONG> =</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #a31515'>"Sheet1"</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>;<BR></SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> IEdmSWBomColumn swColTmp;</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> swColTmp = swBom.<STRONG>InsertColumn</STRONG>(0,</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #a31515'>"PART NUMBER"</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>);</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> swColTmp.<STRONG>Flags</STRONG> = LVCFMT_CENTER;</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> swColTmp.<STRONG>Width</STRONG> = 120;</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> swColTmp.<STRONG>Type</STRONG> = 8;</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN><SPAN style="mso-spacerun: yes"> </SPAN> swColTmp = swBom.<STRONG>InsertColumn</STRONG>(1,</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #a31515'>"DESCRIPTION"</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>);</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> swColTmp.<STRONG>Flags</STRONG> = LVCFMT_CENTER;</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> swColTmp.<STRONG>Width</STRONG> = 231;</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> swColTmp.<STRONG>CustomPropName</STRONG> =</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #a31515'>"Description"</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>;</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> swColTmp = swBom.<STRONG>InsertColumn</STRONG>(2,</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #a31515'>"WEIGHT"</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>);</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> swColTmp.<STRONG>Flags</STRONG> = LVCFMT_CENTER;</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> swColTmp.Width = 71;</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> swColTmp.<STRONG>CustomPropName</STRONG> =</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #a31515'>"Weight"</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>;</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> swColTmp = swBom.<STRONG>InsertColumn</STRONG>(3,</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #a31515'>"VENDOR"</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>);</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> swColTmp.<STRONG>Flags</STRONG> = LVCFMT_CENTER;</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> swColTmp.<STRONG>Width</STRONG> = 132;</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> swColTmp.<STRONG>CustomPropName</STRONG> =</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #a31515'>"Vendor"</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>;</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> swColTmp = swBom.<STRONG>InsertColumn</STRONG>(4,</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #a31515'>"QTY."</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>);</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> swColTmp.<STRONG>Flags</STRONG> = LVCFMT_RIGHT;</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> swColTmp.<STRONG>Width</STRONG> = 71;</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> swColTmp.<STRONG>Type</STRONG> = 6;</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> swColTmp = swBom.<STRONG>InsertColumn</STRONG>(0,</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #a31515'>"ITEM NO."</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>);</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: green'>// insert at first position; reorders previous indexing</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> swColTmp.<STRONG>Flags</STRONG> = LVCFMT_CENTER;</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> swColTmp.<STRONG>Width</STRONG> = 71;</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> swColTmp.<STRONG>Type</STRONG> = 7;<BR></SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> IEdmSWBomRow swRow = swBom.<STRONG>InsertRow</STRONG>(0);</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> swRow.<STRONG>DocID</STRONG> = 1556;</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> swRow.<STRONG>Configuration</STRONG> =</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #a31515'>"Default"</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>;</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> swRow.<STRONG>Version</STRONG> = 1;</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> swRow.<STRONG>ProjectID</STRONG> = 7;</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN></SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: green'>//swRow.ComponentRep = "SW-100200-2<Default>@Bill of Materials1/SW-100217-1<Default>@SW-100200/SW-201831-1<Default>@SW-100217";<BR></SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> swBom.<STRONG>GetCell</STRONG>(0, 0).Text =</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #a31515'>"1"</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>; //Item number</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> swBom.<STRONG>GetCell</STRONG>(0, 1).Text =</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #a31515'>"SW-201831"</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>; //Part number</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> swBom.<STRONG>GetCell</STRONG>(0, 2).Text =</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #a31515'>"BASE"</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>; //Description</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> swBom.<STRONG>GetCell</STRONG>(0, 3).Text =</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #a31515'>"3696.33"</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>; //Weight</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> swBom.<STRONG>GetCell</STRONG>(0, 5).Text =</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #a31515'>"1"</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>; //Quantity<BR><BR> //Add the new SOLIDWORKS BOM to document with ID=1553 and Version=9</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> bomMgr.<STRONG>AddSWBom</STRONG>(1553, 7, 9, (EdmSWBom)swBom);<BR><BR></SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> sb.AppendFormat(</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #a31515'>"{0} sucessfully added."</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>, swBom.<STRONG>Name</STRONG>).AppendLine();</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> }</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN></SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>catch</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>(System.Runtime.InteropServices.COMException ex)</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> {</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN></SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>var</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>errorType =</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>typeof</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>(EdmResultErrorCodes_e);</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN></SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>if</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>(Enum.IsDefined(errorType, ex.ErrorCode))</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> sb.AppendFormat(</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #a31515'>"Edm error occurred: {0}"</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>, Enum.GetName(errorType, ex.ErrorCode)).AppendLine();</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN></SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>else</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> sb.AppendLine(</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #a31515'>"HRESULT = 0x"</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>+ ex.ErrorCode.ToString(</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #a31515'>"X"</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>) +</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #a31515'>" "</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>+ ex.Message);</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> }</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN></SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: blue'>catch</SPAN> <SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>(Exception ex)</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> {</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> sb.AppendFormat(</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #a31515'>"Error occurred: {0}"</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>, ex.Message).AppendLine();</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> }</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> Console.WriteLine(sb.ToString());</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> Console.WriteLine(</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: #a31515'>"Please press any key to exit"</SPAN><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>);</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> Console.ReadKey();</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> }</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'><SPAN style="mso-spacerun: yes"> </SPAN> }</SPAN></P>
|
|
<P class=MsoNormal style="MARGIN-BOTTOM: 0pt; LINE-HEIGHT: normal; TEXT-AUTOSPACE: ; mso-layout-grid-align: none"><SPAN style='FONT-SIZE: 10pt; FONT-FAMILY: "Courier New"; COLOR: black'>}</SPAN></P>
|
|
</div>
|
|
|
|
<h1 class="heading"><span class="expandcollapse" tabindex="0"><img id="remarksToggle" class="toggle" name="toggleSwitch" src="dotnetimages/collapse.gif"></img>Remarks</span></h1><div id="remarksSection" class="section" name="collapseableSection"><P>This interface extends <A href="EPDM.Interop.epdm~EPDM.Interop.epdm.IEdmBomMgr2.html">IEdmBomMgr2</A> by providing the ability to:</P>
|
|
<UL>
|
|
<LI>create a SOLIDWORKS BOM with rows and columns not tied to a fixed layout.
|
|
<LI>add a SOLIDWORKS BOM to a non-SOLIDWORKS document in the vault.</LI></UL>
|
|
<P>To access this interface, call IEdmVault7::CreateUtility with eType = <A href="EPDM.Interop.epdm~EPDM.Interop.epdm.EdmUtility.html">EdmUtility</A>.EdmUtil_BomMgr and then cast the returned object to IEdmBomMgr3.</P></div>
|
|
<h1 class="heading"><span class="expandcollapse" tabindex="0"><img id="accessorsToggle" class="toggle" name="toggleSwitch" src="dotnetimages/collapse.gif"></img>Accessors</span></h1><div id="accessorsSection" class="section" name="collapseableSection"><P><A href="EPDM.Interop.epdm~EPDM.Interop.epdm.IEdmVault7~CreateUtility.html">IEdmVault7::CreateUtility</A> </P></div>
|
|
<a name="seealsobookmark"></a>
|
|
<h1 class="heading"><span class="expandcollapse" tabindex="0"><img id="seealsoToggle" class="toggle" name="toggleSwitch" src="dotnetimages/collapse.gif"></img>See Also</span></h1><div id="seealsoSection" class="section" name="collapseableSection"><h4 class="dxh4"></h4><a href="EPDM.Interop.epdm~EPDM.Interop.epdm.IEdmBomMgr3_members.html">IEdmBomMgr3 Members</a>
|
|
<br/><a href="EPDM.Interop.epdm~EPDM.Interop.epdm_namespace.html">EPDM.Interop.epdm Namespace</a>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="pagefooter"></div>
|
|
</div>
|
|
</body>
|
|
</html> |