Archive

Archive for the ‘Note to Remember’ Category

1603 Install error

April 24th, 2012

One possible resolution for a 1603 error when installing SolidWorks. Rename the following folders on the left tree in the registry (regedit.exe).

On machines with 32-bit Operation System
HKLM\SOFTWARE\Microsoft\VSTAHOST
HKLM\SOFTWARE\Microsoft\VSTAHostConfig

On machines with 64-bit Operation System
HKLM\SOFTWARE\Wow6432Node\Microsoft\VSTAHost
HKLM\SOFTWARE\Wow6432Node\Microsoft\VSTAHostConfig

S-056972 (SolidWorks Solution ID)

Note to Remember , ,

Download fasteners & hardware in SolidWorks format with full history tree

November 14th, 2011

There are several different places to get hardware and fasteners for your SolidWorks projects. The simplest is SolidWorks Toolbox which comes with SolidWorks Professional or Premium. You can also use www.3dcontentcentral.com however it is painfully slow. I recently needed to be able to download bolts and nuts with the thread fully modelled as it had to be printed in 3d with rapid prototyping. After some searching and reading of the SolidWorks Forums, I came across McMaster-Carr http://www.mcmaster.com/

I was delighted to find that I could download the SolidWorks format of every fastener I required with the full history tree intact, and also with the full modelled thread. A big kudos to McMaster-Carr. See below a nice screenshot of a bolt, nut and a square flange mounted bearing with the full history tree.

Some Parts downloaded from McMaster-Carr with the complete History Tree and full modelled thread.

Misc., Note to Remember , , , ,

Linear Patterns & Equations

May 9th, 2011

I was driving a linear pattern with an equation and found that SW was rounding the result up or down to the nearest whole number. Therefore when I had a spacing of 2.5, a pattern of 3 was inserted. Not what I wanted. Anyways, the solution:

"D1@Pattern1" = int("D1@Sketch1"/1200)+1

int() rounds down to the nearest whole number.

Kudos to forums.solidworks.com

Misc., Note to Remember

SolidWorks Error: Hole Wizard / Toolbox Not Expected Version

January 22nd, 2011

Typical Error message when going to use the Hole Wizard / Toolbox.When you go to use the Hole Wizard or Toolbox you get the following error:

Error: The database file ‘C:\SolidWorks Data\lang\english\swbrowser.mdb’ is not the expected version.

Typically you would see this error if you have recently upgraded your SolidWorks install to SW2010 or SW2011. SolidWork should have updated your HoleWizard/Toolbox database, or maybe it installed a new one, and the wrong path is listed in Tools -> Options -> Hole Wizard / Toolbox.

Checklist

  1. Using My Computer, look for C:\SolidWorks Data, C:\SolidWorks Data (2)
  2. Open SolidWorks, Tools -> Options -> Hole Wizard / Toolbox. Check that the path is correct and if different paths were found above, try browsing to them.
  3. If you have another computer running the same latest version of SolidWorks, copy their C:\SolidWorks Data to your computer.
    OR
    Browse to: “C:\Program Files\SolidWorks Corp\SolidWorks\Toolbox\data utilities” and run UpdateBrowserData.exe Browse to the swbrowser.mdb file inside C:\SolidWorks Data\lang\english and click “Update”. That should do the trick.

SolidWorks Update Toolbox Database utility to use when upgrading to the latest version of SolidWorks.

How-To, Note to Remember , , ,

Windows Installer Error 1719 (Windows 7 x64)

January 22nd, 2011

I was recently trying to install SolidWorks 2011 on Windows 7 x64 and it failed. Typically I’d expect problems with XP x64, but not with Windows 7 with .Net and Windows Installer all part of the OS.

Diagnosis

The SolidWorks Installation Manager provided a link to the Installation Logs ( C:\Users\username\AppData\Roaming\SolidWorks\Installation Logs\2011 SP0 ). Looking at the latest txt file ( SummaryIMLog_20110.txt ) I saw “Installation Error 1719” and “Installation Error 1603”.

I also looked at the Windows Event Viewer, and saw the failed installation and the Error 1719. See image below.

Windows Event Viewer Logs showing the exact 1719 SolidWorks Installation Error

First Attempted Solution

  • As Windows Installer v5 is part of Windows 7, it would not show up in Add/Remove Programs to do a repair (as I would have done for XP).
  • Make sure that the Windows Installer service is running  (Control Panel -> System and Security -> Administrative Tools -> Services)
  • As on the SW KB, I had tried registering and reregistering Windows Installer.
    Command Prompt:
    msiexec.exe /unregister
    msiexec /regserver
    C:\Windows\Syswow64\Msiexec /regserver
  • I even browsed directly to the SolidWorks setup (bypassing the Installation Manager), but it immediately threw up the 1719 error and stopped.

This image shows the exact path to the Manual Setup for SolidWorks 2011 x64 bypassing the Installation Manager.

 

Final Solution to 1719 Installation Error

  1. Start, then Run, then type regedit 
  2. Go to HKEY_LOCAL_MACHINE\SYSTEM\CURRENT CONTROL SET\SERVICES\MSIserver\WOW64            
  3. Right click on WOW64, then select Modify      
  4. Set Value Data to 0 (mine was set at 1) and Base should be Hexadecimal
    (see below image for screenshot)
  5. Close the Registry Editor
  6. Reboot the PC
    OR
    Command Prompt: net stop msiserver    and net start msiserver
  7. Install SolidWorks 

Reference

The Windows START -> Run option in Windows 7. Note the run box is now the search box in Windows 7.Screenshot of the Registry showing the 1719 solution which worked.

How-To, Note to Remember , ,

Default Templates for Novice Interface

January 14th, 2011

Here is a little nuisance I came across recently:

When changing the templates that the novice interface uses, it was a little tricky. It turns out that the Novice Interface selects the first alphabetical template.

I had thought it would have used the Default Templates under Tools -> Options -> Default Templates, but I was mistaken.

So if your templates are stored in: C:\ProgramData\SolidWorks\SolidWorks 2011\templates, and you want a new Drawing, it will select the first alphabetical drawing template (*.drwdot) in that folder.
To verify and check where your templates are stored: Tools -> Options -> File Locations -> Document Templates

Personally I always use the Advanced interface, but to each his/her own.

Note to Remember ,

Restore .NET Framework back to its original state

July 25th, 2010

Background

If you have done a clean re-install of SolidWorks and are still getting strange errors (such as missing dlls, or “unknown file types”), it may well be Microsoft .NET Framework at fault. Most of the time, looking in the Windows Event Viewer will confirm this if there are .NET Framework errors showing up.

The first step is to do a repair of .NET Framework, by going to Add/Remove Programs, right-clicking on .NET Framework (choose 3.5 or 3.1 if present) and going Repair. This should work, however sometimes it doesn’t.

You can also try:
Exploring the SolidWorks DVD and in the prereqs folder run “dotnetfx3.exe” (or dotnetfx3_x64.exe). I tried this however I got strange errors about “mscoree.dll” etc.

Download and usage

If all else fails, you can use a “.NET Framework Cleanup Tool“. It works really well and has worked for me every time. You can download this Executable Tool (in a Zip file) from: http://blogs.msdn.com/b/astebner/archive/2008/08/28/8904493.aspx

  • Just run the exe file and go “Cleanup Now”.
  • It takes around 5 minutes to process and at the end you will be prompted to Restart the Computer. Restart the Computer/
  • After the reboot, look in Add/Remove Programs. If its Windows XP, you will see the original .NET Framework 1.1 listed. Thats perfect.
  • From the prereqs folder of the SolidWorks DVD run “dotnetfx3.exe” or “dotnetfx3_x64.exe”.
  • Once this is installed, you should be able to start SolidWorks. (No need to go reinstalling SolidWorks)
  • Fingers crossed the dll errors or strangeness in SolidWorks will have gone.

Notes:
This worked fine on SolidWorks 2009 and SolidWorks 2010
Search the SolidWorks Knowledge Base for the dll error messages or for errors regarding the feature you are having issues with (such as property tab builder etc.) It will typically tell you if its a .NET issue.
Link to dotnetfx3.exe and dotnetfx3_x64.exe
After running the cleanup tool, rebooting, installing dotnetfx3.exe SolidWorks will work fine.
Installing .NET Framework 3 (the dotnetfx3.exe linked above and on the SW prereqs folder), will install .NET Framework 2.0 and 3.0.
I suggest you run Windows Updates, several times. More than likely a .NET 3.5 will have to be installed. Note also, until you run Windows Updates and install all .NET Frameworks that were in place (in Add/Remove Programs in the very begining), some other installed programs on your computer may give out.
Lastly, use at your own risk!

How-To, Note to Remember , , , ,

Cosmetic Threads in Assembly Drawings

June 23rd, 2010

I did come across this before, but forgot about it. Putting it here will remind me not to forget it again.

Query: Cosmetic threads do not appear in Assembly Drawings.

  1. Create a Part with a Hole Wizard Hole with Cosmetic Thread.
  2. Create a Drawing of the Part, the Cosmetic Thread shows up in Plan, Elevation, Section etc.
  3. Create an Assembly with the above Part.
  4. Create a Drawing of the Assembly, Cosmetic Threads do not show by default.

The SolidWorks Knowledge Base provided a quick answer (S-03448). The above functionality is intended. If you want to see cosmetic threads in Assembly Drawings, you have to go Insert -> Model Items -> Cosmetic Thread

Note to Remember , ,

Problems inserting Routing Components from the Design Library?

April 9th, 2010

Working on a piping project recently, I done a pack-and-go to make sure the project would open correctly on another computer. Weeks later when I got back to the project, I worked on the extracted pack-and-go, and started creating a new route, I found I could not insert piping components (flanges, tees etc.) from the Design Library via drag-and-drop. I would see no preview of the part in order to smart mate it into place. When I tried to drag and drop, I got the error “Drag and Drop Failed” and also “This component is already open, would you like to show it..”.

I’ve had this problem before with one or two parts, and what I done was to rename the particular flange in the Design Library to weld neck flange2 and then it would drag and drop in correctly. This time however it was more widespread.

After searching the SolidWorks Knowledge Base on the Customer Portal, I found my problem. My problem was specifically due to the Pack and Go that I done. The pack-and-go copied all my Routing parts from the Design Library into a flat folder. Upon opening this, the routing parts (flanges, elbows etc.) were loaded up from the Project folder rather than the Deisgn Library.

Rule:
Keep all Routing Components (flanges, tees etc.) IN ONE PLACE, i.e. the Design Library
If you open an Assembly with routing components, and SW loads up a flange from Location X, you cannot drag and drop the same flange from Location Y. Use File -> Find References to check where SW loaded files up from.

Note to Remember ,

Note to remember when creating Weldment Profiles

August 6th, 2009

weldmentsWhile reading through some blogs the other evening, I came across this useful essential note to remember when creating weldment profiles.

Before you go “Save As” -> Lib Feat Part (*.sldlfp), you need to PRE-SELECT the sketch. Otherwise when you create the Lib Feat Part, it will be empty (initial sketch gone!).

I came across this note on SolidJot tips for Weldments which was in SW2006, and Yes, this pre-select requirement is still needed in SW2009. I remember this because it happened me a few times, and at the time I thought it was an intermittent issue.

Also just to point out that it is really easy to create weldment profiles, allowing you to easily create structures, frames, patio deckings, railings, chassis’s, etc.. Some people think that if a profile is not in the Ansi Inch or Iso, it can’t be done. Oh yes it can. And SW2009 makes weldments much easier by auto-trimming members, allowing to change the trim-order etc. A nice post including video can be found on rickyjordan.com

Note to Remember