<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SolidWorks &#187; SW2006</title>
	<atom:link href="http://solidworks.burkesys.com/tag/sw2006/feed/" rel="self" type="application/rss+xml" />
	<link>http://solidworks.burkesys.com</link>
	<description>Information and tricks not to be forgotten</description>
	<lastBuildDate>Sun, 25 Jul 2010 22:44:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Create a Custom Excel BOM</title>
		<link>http://solidworks.burkesys.com/2009/04/create-a-custom-excel-bom/</link>
		<comments>http://solidworks.burkesys.com/2009/04/create-a-custom-excel-bom/#comments</comments>
		<pubDate>Sun, 26 Apr 2009 15:32:37 +0000</pubDate>
		<dc:creator>sburke</dc:creator>
				<category><![CDATA[How-To]]></category>
		<category><![CDATA[SW2006]]></category>

		<guid isPermaLink="false">http://solidworks.burkesys.com/?p=27</guid>
		<description><![CDATA[While using an Excel based BOM (as opposed to a standard BOM) is not as flexible as a standard Bill of Materials, there are various customisations which can be done. E.g. if you want a complete project costing (taking into account price per meter length of piping or weldments). Note: in recent versions of SolidWorks [...]]]></description>
			<content:encoded><![CDATA[<p>While using an Excel based BOM (as opposed to a standard BOM) is not as flexible as a standard Bill of Materials, there are various customisations which can be done. E.g. if you want a complete project costing (taking into account price per meter length of piping or weldments). Note: in recent versions of SolidWorks (2008,2009 etc.) it is possible to do totals and equations in standard BOMs, however they require some post manual tweaking.</p>
<p>This post shows how a custom Excel based Bill of Materials for a SolidWorks Assembly drawing can be created.</p>
<ul>
<li>Find out where BOM templates are stored: Open SolidWorks -&gt; Tools -&gt; Options -&gt; File Locations -&gt; BOM Templates</li>
<li>Open bomtemp-all.xls  Look at the various Headings in Row 1.</li>
<li>Remove/Add Columns to suit making sure to type in the SolidWorks File Property name into the &#8220;Name Property&#8221; box (see image below).</li>
<li>Do NOT remove the Item No. Column or Part No. Column (otherwise your Excel BOM will act strange, adding several duplicate rows into the BOM.) (I spent quite a while caught on this.) FYI this fact is noted in the SolidWorks Knowledge Base. Customers on subscription can view the SolidWorks Knowledge Base at <a href="http://customerportal.solidworks.com" target="_new">http://customerportal.solidworks.com</a></li>
</ul>
<div id="attachment_34" class="wp-caption aligncenter" style="width: 370px"><img class="size-full wp-image-34" title="custom-excel-bom-1" src="http://solidworks.burkesys.com/wp-content/uploads/2009/04/custom-excel-bom-1.jpg" alt="Name Properties used in Excel" width="360" height="120" /><p class="wp-caption-text">Name Properties used in Excel</p></div>
<p>Its also possible to see all Name Properties in an Excel file: Insert -&gt; Name -&gt; Define (Excel 2000/2003)<br />
(In Excel 2007, its called &#8220;Name Manager&#8221; and its on the Formulas button. Alt+m+n also works)<br />
This shows up the list of Name Properties in the Excel file. Be extremely careful!</p>
<p>Once the Excel file is saved, go to SolidWorks, pre-select the view (typically the Isometric view) and then go: Insert -&gt; Tables -&gt; Excel Based Bill of Materials. Choose your template file, and voila. Note: The name you entered in the &#8220;Name Property&#8221; box in Excel must correspond with the Property in the PART. Go to the Part, File -&gt; Properties -&gt; Custom and make sure the Property name is present.</p>
<p>If you formatted the Headings in your Excel template, and wish for these to come through, make sure to have &#8220;Use the document note font when creating the table&#8221; unchecked when initially Inserting the Excel Based BOM.</p>
<p>In a recent Piping SolidWorks Project, I wanted a complete costing done on my BOM. I created several columns, including &#8220;Unit Cost&#8221;, &#8220;Pipe Cost&#8221;, &#8220;Total Unit Cost&#8221; and &#8220;Total Pipe Cost&#8221;. In the once-off parts I created a unitcost SW Property in the parts. For the piping (same with weldments), I opened the source pipe file (used in routing), and added a costpipe property (which had a cost per meter). An image of the completed table can be seen below. This Excel template file can be downloaded from <a href="http://solidworks.burkesys.com/wp-content/uploads/2009/04/bompipe.xls">here</a>. (There are 2 columns containing calculations which are hidden. This level of detail would not have been possible in a standard Bill of Materials).</p>
<div id="attachment_36" class="wp-caption aligncenter" style="width: 511px"><img class="size-full wp-image-36" title="excel-bom-project-costing-example" src="http://solidworks.burkesys.com/wp-content/uploads/2009/04/excel-bom-project-costing-example.jpg" alt="Excel based BOM used in Project Costing Example" width="501" height="251" /><p class="wp-caption-text">Excel based BOM used in Project Costing Example</p></div>
<p>This level of customisation available within SolidWorks is just the tip of the iceberg!</p>
<p>EDIT &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>So I came across an issue with Excel BOM&#8217;s which caught me.<br />
It is <strong>not</strong> possible to have properties such as SW-Title, SW-Author, SW-Filename, or any property with a hyphen ( &#8211; ) in its name in an Excel based Bill of Materials. This limitation is caused by Microsoft Excel. In the Name Property box for each cell, it is not possible to have a hyphen ( &#8211; ). The workaround given by SolidWorks (S-015804) (On the Knowledge Base at <a href="http://customerportal.solidworks.com">http://customerportal.solidworks.com</a> ) is to create a Custom Property (as normal in SolidWorks). E.g. to have SW-Title appear in a BOM, you need to create a Custom Property called SWTitle and link it to: $PRP:&#8221;SW-Title&#8221;. Then when creating the Excel BOM template, insert the Name Property SWTitle. Of course if you have a project already created, and only realised this at the end, its a little more difficult. SolidWorks Task Scheduler may be able to add this Custom Property to all of your files.</p>
<p>Hopefully this will help someone, and me too in case I forget!<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
]]></content:encoded>
			<wfw:commentRss>http://solidworks.burkesys.com/2009/04/create-a-custom-excel-bom/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
