<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>SolidSmack - Latest Comments in Two SolidWorks Macros For Blazin&amp;#8217; Fast Assembly Work</title><link>http://solidsmack.disqus.com/</link><description>SolidWorks 3D CAD Technology Design Blog</description><language>en</language><lastBuildDate>Fri, 03 Jul 2009 07:55:08 -0000</lastBuildDate><item><title>Re: Two SolidWorks Macros For Blazin&amp;#8217; Fast Assembly Work</title><link>http://www.solidsmack.com/solidworks-tip-assembly-mate-macros/2008-09-15/#comment-12068193</link><description>You should add one additional arguement into this command:&lt;br&gt;        Part.CompConfigProperties4 2, 0, True, "config1", False&lt;br&gt;It should be:&lt;br&gt;        Part.CompConfigProperties4 2, 0, True, True, "config1", False</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">MAli</dc:creator><pubDate>Fri, 03 Jul 2009 07:55:08 -0000</pubDate></item><item><title>Re: Two SolidWorks Macros For Blazin&amp;#8217; Fast Assembly Work</title><link>http://www.solidsmack.com/solidworks-tip-assembly-mate-macros/2008-09-15/#comment-7264399</link><description>Is there a way to import parts/sub assy's into an assy using a design table</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Drew</dc:creator><pubDate>Mon, 16 Mar 2009 16:22:53 -0000</pubDate></item><item><title>Re: Two SolidWorks Macros For Blazin&amp;#8217; Fast Assembly Work</title><link>http://www.solidsmack.com/solidworks-tip-assembly-mate-macros/2008-09-15/#comment-5655879</link><description>you may have to have a prompt to select which part you want to change. I'm not an expert in the API, but you would have to have assemblies set up really similarly. For instance, I use a program that matches all the configurations with the same name, so all the parts with a 'Simple' configuration appear in the 'Simple' configuration of the assembly.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">joshmings</dc:creator><pubDate>Thu, 29 Jan 2009 14:25:32 -0000</pubDate></item><item><title>Re: Two SolidWorks Macros For Blazin&amp;#8217; Fast Assembly Work</title><link>http://www.solidsmack.com/solidworks-tip-assembly-mate-macros/2008-09-15/#comment-5624447</link><description>Is there a way to use a macro to change the configuration on a part inside an assembly?&lt;br&gt;&lt;br&gt;Here is what the "record" writes, but when I run it, it doesnt work.&lt;br&gt;&lt;br&gt;Dim swApp As Object&lt;br&gt;Dim Part As Object&lt;br&gt;Dim SelMgr As Object&lt;br&gt;Dim boolstatus As Boolean&lt;br&gt;Dim longstatus As Long, longwarnings As Long&lt;br&gt;Dim Feature As Object&lt;br&gt;Sub main()&lt;br&gt;&lt;br&gt;Set swApp = Application.SldWorks&lt;br&gt;&lt;br&gt;Set Part = swApp.ActiveDoc&lt;br&gt;Set SelMgr = Part.SelectionManager&lt;br&gt;boolstatus = Part.Extension.SelectByID2("part1@assem1", "COMPONENT", 0, 0, 0, False, 0, Nothing, 0)&lt;br&gt;Part.CompConfigProperties4 2, 0, True, "config1", False&lt;br&gt;Part.ClearSelection2 True&lt;br&gt;boolstatus = Part.EditRebuild3&lt;br&gt;End Sub</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">scott</dc:creator><pubDate>Wed, 28 Jan 2009 15:02:22 -0000</pubDate></item><item><title>Re: Two SolidWorks Macros For Blazin&amp;#8217; Fast Assembly Work</title><link>http://www.solidsmack.com/solidworks-tip-assembly-mate-macros/2008-09-15/#comment-4126611</link><description>Try Lenny Kikstra's site:  &lt;a href="http://designsmarter.typepad.com/lennyworks/" rel="nofollow"&gt;http://designsmarter.typepad.com/lennyworks/&lt;/a&gt;&lt;br&gt;&lt;br&gt;Lenny is a SW god at this stuff</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rod_Uding</dc:creator><pubDate>Tue, 02 Dec 2008 09:27:09 -0000</pubDate></item><item><title>Re: Two SolidWorks Macros For Blazin&amp;#8217; Fast Assembly Work</title><link>http://www.solidsmack.com/solidworks-tip-assembly-mate-macros/2008-09-15/#comment-3765552</link><description>Hey Josh,&lt;br&gt;Thanks for the assistance but i still dont seem to be able to do get it to work. Can you recommend somewhere i can learn more how macros work?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Justin</dc:creator><pubDate>Thu, 13 Nov 2008 22:29:09 -0000</pubDate></item><item><title>Re: Two SolidWorks Macros For Blazin&amp;#8217; Fast Assembly Work</title><link>http://www.solidsmack.com/solidworks-tip-assembly-mate-macros/2008-09-15/#comment-3702488</link><description>Justin, hi! good question! you can create a configuration with a macro. Record one to see how it works. Bring up the macro toolbar and start a new macro. go to the config tab and create a new macro. stop the macro and then edit it to see how solidworks creates it. This is a huge step in learning about automating solidworks. thanks!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">joshmings</dc:creator><pubDate>Wed, 12 Nov 2008 09:37:41 -0000</pubDate></item><item><title>Re: Two SolidWorks Macros For Blazin&amp;#8217; Fast Assembly Work</title><link>http://www.solidsmack.com/solidworks-tip-assembly-mate-macros/2008-09-15/#comment-3674956</link><description>I'm a new reader but been swxing for years. i cant seem to add configurations as a macro. i need to go over a large back catalogue and add colour configurations for each of many parts and then make a custom colour property so they get called up by colour into BOM. I can get solidworks scheduler to do the custom property bit but i need to manually create the configurations. Is there any way around this?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Justin</dc:creator><pubDate>Tue, 11 Nov 2008 00:31:21 -0000</pubDate></item><item><title>Re: Two SolidWorks Macros For Blazin&amp;#8217; Fast Assembly Work</title><link>http://www.solidsmack.com/solidworks-tip-assembly-mate-macros/2008-09-15/#comment-3627309</link><description>good job. i am italian designer. good josh</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">giovanni</dc:creator><pubDate>Sat, 08 Nov 2008 15:56:38 -0000</pubDate></item><item><title>Re: Two SolidWorks Macros For Blazin&amp;#8217; Fast Assembly Work</title><link>http://www.solidsmack.com/solidworks-tip-assembly-mate-macros/2008-09-15/#comment-3366992</link><description>Lenny's website is one:  &lt;a href="http://www.lennyworks.com/solidworks/" rel="nofollow"&gt;http://www.lennyworks.com/solidworks/&lt;/a&gt;&lt;br&gt;He has 2 sections listed on the left for macros&lt;br&gt;&lt;br&gt;Also, Lorono's SW resources: &lt;a href="http://sw.fcsuper.com/index.php?name=UpDownload" rel="nofollow"&gt;http://sw.fcsuper.com/index.php?name=UpDownload&lt;/a&gt;&lt;br&gt;&lt;br&gt;Matt Lombard's: &lt;a href="http://mysite.verizon.net/mjlombard/macros.html" rel="nofollow"&gt;http://mysite.verizon.net/mjlombard/macros.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;I believe I pulled mine from Matt Lombard's site.  Enjoy!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rod_Uding</dc:creator><pubDate>Wed, 29 Oct 2008 14:33:39 -0000</pubDate></item><item><title>Re: Two SolidWorks Macros For Blazin&amp;#8217; Fast Assembly Work</title><link>http://www.solidsmack.com/solidworks-tip-assembly-mate-macros/2008-09-15/#comment-3364694</link><description>Rod - where might I find that set of macros?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John</dc:creator><pubDate>Wed, 29 Oct 2008 12:26:29 -0000</pubDate></item><item><title>Re: Two SolidWorks Macros For Blazin&amp;#8217; Fast Assembly Work</title><link>http://www.solidsmack.com/solidworks-tip-assembly-mate-macros/2008-09-15/#comment-2568565</link><description>Thanks for the defense of my innocent macro tip :) I can fly through assembly mates with'em. I hope this give some people ideas about speeding up the process/reducing keystrokes for other commands.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">joshmings</dc:creator><pubDate>Wed, 24 Sep 2008 10:02:51 -0000</pubDate></item><item><title>Re: Two SolidWorks Macros For Blazin&amp;#8217; Fast Assembly Work</title><link>http://www.solidsmack.com/solidworks-tip-assembly-mate-macros/2008-09-15/#comment-2541693</link><description>Josh,  Thanks for the post.  Using the alt key to mate concident is fine when the two surfaces to be mated are not exactly parallel to each other.  Yes, it can be done, but your macro has less keystrokes and more consistant results.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Shaun_E</dc:creator><pubDate>Tue, 23 Sep 2008 10:52:41 -0000</pubDate></item><item><title>Re: Two SolidWorks Macros For Blazin&amp;#8217; Fast Assembly Work</title><link>http://www.solidsmack.com/solidworks-tip-assembly-mate-macros/2008-09-15/#comment-2400729</link><description>Yep Jeff, it's dated. I wish there was no need for macros actually. I'm all for the program knowing what I need to do and doing it, but those dang macros come in handy sometimes. This is one instance where I could show the usefulness of macros and open up ideas about using them for other functions that readers (like Rod) can use to make their job easier. It's kind of a two part post. Quickmates are great, but this show how to add commands, so to speak, and introduces people to very simple macro functionality. Cool?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">joshmings</dc:creator><pubDate>Wed, 17 Sep 2008 13:05:50 -0000</pubDate></item><item><title>Re: Two SolidWorks Macros For Blazin&amp;#8217; Fast Assembly Work</title><link>http://www.solidsmack.com/solidworks-tip-assembly-mate-macros/2008-09-15/#comment-2387951</link><description>Once you create the mate, you can RMB on the mate in the feature tree.  This will give you some options on the mate depending upon the type.  One of the options is to "Flip Mate Alignment".  A distance mate will add a "Flip Dimenison" option.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rod_Uding</dc:creator><pubDate>Tue, 16 Sep 2008 14:57:13 -0000</pubDate></item><item><title>Re: Two SolidWorks Macros For Blazin&amp;#8217; Fast Assembly Work</title><link>http://www.solidsmack.com/solidworks-tip-assembly-mate-macros/2008-09-15/#comment-2387792</link><description>There would be no "easy" way to adjust the orientation of the mate, except going into the mate, right?  So, maybe mention to align the objects close to what orientation you'd want.  Would like distance mates, and possibly multiple coincident/concentric.  Will have to look at these to see if possible to make them.  Thanks!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">NathonRose</dc:creator><pubDate>Tue, 16 Sep 2008 14:40:29 -0000</pubDate></item><item><title>Re: Two SolidWorks Macros For Blazin&amp;#8217; Fast Assembly Work</title><link>http://www.solidsmack.com/solidworks-tip-assembly-mate-macros/2008-09-15/#comment-2387050</link><description>Since I read this post yesterday, I have now been adding macros for the mates.  I found a set that had just about all the mates.  I have been adding them to the macro toolbar and using some old AutoCAD 16 x 16 bitmaps from the object snaps to indicated the mate type.  I knew those icons woudl be handy some day. Saves me time reinventing the wheel.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rod_Uding</dc:creator><pubDate>Tue, 16 Sep 2008 13:34:12 -0000</pubDate></item><item><title>Re: Two SolidWorks Macros For Blazin&amp;#8217; Fast Assembly Work</title><link>http://www.solidsmack.com/solidworks-tip-assembly-mate-macros/2008-09-15/#comment-2385394</link><description>Quickmates!?!  HOW DID I NOT KNOW ABOUT THIS!?!?!  BRILLIANT!!!  You're my hero Jeff.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Chris</dc:creator><pubDate>Tue, 16 Sep 2008 11:16:52 -0000</pubDate></item><item><title>Re: Two SolidWorks Macros For Blazin&amp;#8217; Fast Assembly Work</title><link>http://www.solidsmack.com/solidworks-tip-assembly-mate-macros/2008-09-15/#comment-2385166</link><description>Here's what I want: a macro to fully define a fastener to a hole. Mate references are nice and all, but a simple mate macro should be much quicker. Here's the idea:&lt;br&gt;-Select the top edge of the hole and an edge of the underside of the fastener (ie: the annulus)&lt;br&gt;-Run the macro, which assigns a concentric, coincident, and parallel mate, fully defining the fastener.&lt;br&gt;&lt;br&gt;Now THAT would be tremendously useful. I'd write it myself, but I'm up to my eyeballs in paperwork right now. =/</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">listrophy</dc:creator><pubDate>Tue, 16 Sep 2008 10:58:59 -0000</pubDate></item><item><title>Re: Two SolidWorks Macros For Blazin&amp;#8217; Fast Assembly Work</title><link>http://www.solidsmack.com/solidworks-tip-assembly-mate-macros/2008-09-15/#comment-2385064</link><description>Is it just me or does this post seem a little dated?  The use of macros for mating has become obsolete with the addition of quick mates.  With the macro you either have to have the two objects selected prerun or code the macro to ask for the user input.  With quick mates you just hold down the ALT key and drag the first object over to the second one and then click OK.  May be a few more operations from the user, but beats having to see an error box each time you forget to preselect.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeff_P</dc:creator><pubDate>Tue, 16 Sep 2008 10:51:53 -0000</pubDate></item><item><title>Re: Two SolidWorks Macros For Blazin&amp;#8217; Fast Assembly Work</title><link>http://www.solidsmack.com/solidworks-tip-assembly-mate-macros/2008-09-15/#comment-2364506</link><description>Mates are already pretty quick with a keyboard shortcut to the mate command.  I assigned 'M' to the mate command.  Once I select two surfaces I just hit 'M', then use a right click to confirm the coincident  or concentric mate works (since SW always seems to guess correctly), then hit enter to finish up the mate command.  No need for fancy, non standard macros.&lt;br&gt;&lt;br&gt;My favorite macro, and the only one I really use, is one that toggles between selecting hidden lines and not.  During normal use I have this one turned off.  When I need to mate to an internal edge or make a line in an in context sketch line up with an existing feature I switch to wireframe mode and toggle this macro.  I kludged this one together from other peoples work, but the final product is better than the sum of its parts.  Instead of having one macro to turn the option on and another to turn it off this macro toggles between the two states.  It also lets you know whats going on by giving feedback in the system tray.&lt;br&gt;&lt;br&gt;Feast your eyes on it here: &lt;a href="http://uberthin.com/hosted/solidworks/hidden_line_selection_toggle.zip" rel="nofollow"&gt;http://uberthin.com/hosted/solidworks/hidden_li...&lt;/a&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Keith</dc:creator><pubDate>Mon, 15 Sep 2008 17:02:35 -0000</pubDate></item><item><title>Re: Two SolidWorks Macros For Blazin&amp;#8217; Fast Assembly Work</title><link>http://www.solidsmack.com/solidworks-tip-assembly-mate-macros/2008-09-15/#comment-2363813</link><description>Rod, you are slowly forcing me to respond to more comments! keep'em coming man, love it. and really glad you found this useful. Not sure why I haven't posted it already. see ya!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">joshmings</dc:creator><pubDate>Mon, 15 Sep 2008 16:05:23 -0000</pubDate></item><item><title>Re: Two SolidWorks Macros For Blazin&amp;#8217; Fast Assembly Work</title><link>http://www.solidsmack.com/solidworks-tip-assembly-mate-macros/2008-09-15/#comment-2363116</link><description>Josh, you are slowly forcing me to become more efficient.  I enjoy that.&lt;br&gt;&lt;br&gt;There have been some days when my monitor almost looked like the one in the post.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rod_Uding</dc:creator><pubDate>Mon, 15 Sep 2008 15:10:26 -0000</pubDate></item></channel></rss>