Archive for the ‘PDM’ Category

Hear the Engineering Data Specialist Man on Solidworks:HEARD!

Sunday, August 29th, 2010

Great Aunt Eleanor always made sure I kept things in perspective. I still remember the day I got my first paper published with ASTM. I was so proud, but when I got home to show her the book, she quipped: “That’s nice dear, but have you been on SolidWorks:HEARD! yet?”

Well, well Aunt Eleanor! What do you think of me now?

In this episode Lou and I talk about some of the basic functions of SolidWorks Enterprise PDM and some advantages a company might experience if they adopted a PDM system in their workplace. I am pretty proud of it, swing over and listen!

I was pretty nervous before we started recording, but it turned out to be a lot of fun to record the episode. I was hoping to meet the opening band, but Lou explained to me they were just “bumper music” and he would add them in during the post process. <drat>

They rock.

Jeff Sweeney

Jeff Sweeney
Engineering Data Specialist
3DVision Technologies

Powerful little Ping

Tuesday, August 24th, 2010

Some scholars suggest the Windows “ping” command was first written in the early Ming Dynasty. I personally have been using it since Aunt Elenore gave me my first PC as a graduation gift from preschool. However, I had only been using it as a simple connectivity checker. A few days ago, while debugging a SolidWorks Enterprise PDM issue, it was recommended to me to add an “-l” switch to the command in this manner:

ping -t -l 1500 <archive server name>

index

I knew the machines were connecting with each other, so I had not even thought to use ping. I first tried ping without the option, all packets came back. When I tried with the option none returned!

The -l option allows packet size to be defined.  A normal ping packet is only 8 bytes which is not a good test of actual TCP packets.  A typical TCP packet is usually 1500 which is why SolidWorks suggests using this value. Any dropped packets indicate you may see a loss of performance.

This is a very quick, cheap way to get better feeling for the quality of your Intranet connection.

Jeff Sweeney

Jeff Sweeney
Engineering Data Specialist
3DVision Technologies

Group Settings in SolidWorks Enterprise PDM

Thursday, August 12th, 2010

Since my blog readership has skyrocketed, I was able to increase my blog budget enough to travel the globe to interview some of the most important people in the world.  My purpose is to get you, my readers, the answers to the questions you desire. Today, I am in Sweden, home of one of my favorite high school memories, to interview Tor Iveroth, Sr. PDM Technical Support & Implementation Engineer for SolidWorks.

EDSM: Thanks for having me out here today Tor. You have a really nice office! Do the guys back in Concord know each of you have 60″ wide screen TVs in your cubicles?

Tor: The pleasure is all mine. It is not very often I get to talk to one of the best SolidWorks users of all time -you’re in the top four I believe?

EDSM: Why is it that when I add a user to a group in Enterprise PDM, the user settings from the group are not correctly applied to the user?

settings

Tor: What many miss out on is that groups basically “push” settings to users at the time you update the group settings. Settings are stored per user in the database, not per group.  When you bring up the settings for a group, it will collect the settings for all current user members of that group and list the combined settings.

The check boxes in the settings dialog when group (or multiple users) is selected can be in one of three states. On, off or mixed.

  • If all users have a setting enabled, the check box will have a check mark (on)
  • If all users have a setting disabled, the check box will be empty (off)
  • If users have different settings (some on, some off), the check box will have a “blob” / grayed out marking (mixed)

If you add a user to a group, that user will not inherit any settings as group do not store settings.  Keep in mind that user can be part of multiple groups as well.

To reapply settings to all users within a group, open the group settings, then enable appropriate check boxes showing the mixed settings.

EDSM: So group settings is just a tool to push settings to users, it should not be thought of as a reporting tool to see what the settings are for a group?! That clears up many questions I have had. Thanks for your time Tor!

Jeff Sweeney

Jeff Sweeney
Engineering Data Specialist
3DVision Technologies

Converting from Metaphase

Monday, August 9th, 2010

I love moving data. I guess that is just what we Engineering Data Specialist Men do. Lately I have been doing Inventor Vault migrations into SolidWorks Enterprise PDM, but last month I finished a migration from Metaphase (the old TeamCenter name) that I thought was rather fun and would tell you a little about it.

The first challenge was that no one knew the administrator password for the Metaphase system. The IT guy who knew it was “several IT guys ago” so there was originally a pretty big concern! It looked like we might have to get the files out through the user interface and have no access to the database. Though this was a possible plan, it would have been very slow. As it turns out, after all this time, the password was still the default Metaphase password. Jackpot!

I don’t know if you know much about the Metaphase architecture, but bottom line, everything is an “object”. These objects may or may not have a file associated with them. This is different than how EPDM works because EPDM is primarily file based. To combat this difference, we first considered using EPDM’s item master, but decided to use EPDM’s Virtual Items to represent each object instead. Both options have their merits, but we felt the users would be more comfortable with virtual items because they behave a little more like Metaphase’s objects.

We used SolidWorks’ XML import tool to do the actual import. Though it is not very good at resuming progress if you have to stop it, (or if the power goes out, which it did with only a few hours of the import left) I felt it did a very good bringing the data over. The actual XML import file was about 161 MB which was way bigger than my favorite XML editor (Notepad ++) can handle. As a result I didn’t open the file directly very often for debugging, I created a few little .NET apps to manipulate the XML file.

For all of you numbers junkies out there: 234,000 total files (132,000 became virtual documents) in 143,000 directories and just under 300,000 XREFs. We used a humble Windows 7 machine to do the actual import over a gigabit network -took a little over three days for the XML import routine to complete. I was expecting the import to consume a lot of RAM but it didn’t. It just sat there very slowly moving its progress bar while I twiddled my thumbs.

Since no one knew the password, they couldn’t upgrade their server, which was an old Windows NT machine that was on serious life support. That server has now been put out to pasture, and the end users are thrilled to be using an interface that was written in this decade. “You mean we can use the mouse?!”

Jeff Sweeney

Jeff Sweeney
Engineering Data Specialist
3DVision Technologies

Off-line mode – trick to keeping your vault clean

Thursday, August 5th, 2010

I’m often asked why sometimes when you add a file to the SolidWorks Enterprise PDM vault, it shows that the file is at version two, other times it shows as version one. Version one is what that file looked like at the moment you added the file, version two will exists if you modified the file in any way before you check the file in for the first time.

Most of the time this isn’t a big deal – who cares if you have one version or two.

However, It can be a big deal if the file has file properties in it that you don’t want to go into the vault. Consider making a copy of a part, then in the newly copied part you change  the manufacture part number from “123″ to “456″. Now imagine later someone does a search leaving the “Search in all versions” checked…

AllVersions

and does a search for “123″. Your “456″ part will come up, because that part was “123″ in version one. (The search results can display the version the information was found in, but if the searcher is careless/clueless —)

There are several other reasons you may want to modify information before it officially goes into the vault [and thus gets saved in the database forever -you can't ever change version one]. One last example: Perhaps you make a drop down list of all unique vendors in the vault…and because version one is created without any opportunity for validation, these “version ones” could quickly junk up your list!

I think I have two solutions for you:

  1. You could copy the new files to a location outside of the vault, get the file properties setup the way you want them, then move the files into the vault
  2. If you go to “Off-line” mode, copy the files directly in the directory you want them to exist, make all the changes you want and the database won’t see these changes. Then when you go back on-line, RMB click on the files and add them to the vault. Everything will be at version one, clean as a whistle.

I like the “off-line” mode option a little better, seems like less steps to remember and you are assured SolidWorks will be able to resolve all of the references properly.

Offline

Jeff Sweeney

Jeff Sweeney
Engineering Data Specialist
3DVision Technologies

|||| || ||| |||||

Thursday, July 8th, 2010

What do you think of our “paperless” society so far? Way to go prognosticators, got your jet packs all tangled up on that one.

Though SolidWorks’ DimXpert is really cool and I know some companies are adopting it, most companies are still creating and printing drawings.

If you can’t talk management into adopting the new, cool technologies, think you could talk them into using 1949 technology – the barcode?

They are actually very easy to use – they can be added by using nothing more than a special TrueType font on your drawing -many can be downloaded for free.

Add your note to your drawing, change the font to barcode and….

BarCode….now a barcode reader can read your note! (As long as you don’t use the new “Fit Text” property. Character spacing is important.)

What can you do with it you ask? Add this barcode to your drawing sheet format, link it to a custom file property – perhaps file name, PDM unique id, part number, etc. and your barcode will update as the properties update.

Now everyone down stream can quickly access information about your drawings.

There are a lot of inexpensive bar USB code readers that behave just like a computer keyboard. (They even use keyboard drivers.) When the reader sees the barcode, it simply inputs the value into your computer as if it came from your keyboard.

Simplest example, imagine the barcode is the file name, the user opens up a search window puts the cursor in the file name field, scans the barcode and the search starts…no typing!

I’ve written simple applications that simply watched for keyboard input, when it saw the barcode the routine searched for the file in the database and marked that file as arrived at that work station.

Think of all the locations barcodes could be used. Stockrooms, purchasing, manufacturing, shipping…just a very quick way for your users to input data into your system.

Jeff Sweeney

Jeff Sweeney
Engineering Data Specialist
3DVision Technologies

GUI is for the birds

Thursday, July 1st, 2010

Great Aunt Elenore took some time today away from her World of WarCraft to offer this advice: “Why do with a mouse what you can do with the keyboard?”

I blinked slowly as she handed me this listing of keyboard shortcuts you can use in the SolidWorks Enterprise PDM reference dialogs (check in, check out, change state etc.)

CTRL+A Select all items in file list
CTRL+L Check out all files (from the earlier versions when “lock” meant “checkout”)
CTRL+U Check in all files (unlock)
CTRL+K Keep all files checked out
CTRL+G Get all files
CTRL+R Increase revision on all files
CTRL+N Undo check out on all files
CTRL+O Remove local copies of all files
CTRL+S Use latest version of all files

After she shared this list with me, she went back to her game muttering about getting a keyboard shortcut to catch Mr. T.

Jeff Sweeney

Jeff Sweeney
Engineering Data Specialist
3DVision Technologies

Babysitting SQL

Friday, June 25th, 2010

In the world of SolidWorks Enterprise PDM administration, maintaining the Enterprise systems is really pretty easy. You need to add/remove users (assuming the HR department bothers to tell you when they hire someone) and ensure you have good reliable backups.

But don’t forget Enterprise’s playmate – SQL.

SQL is that one kid who was hard to babysit for. Sure he was good when you were watching him, but if you left him alone for too long you would catch him chewing on the furniture, burning the hair on your sister’s dolls, or using a shovel in your mom’s flower bed.

He’s a good kid, he’ll serve you well, but every once in a while you need to pat him on the head so he knows you are watching him.

Like any Microsoft product, SQL requires some occasional maintenance. Tim Kwong, SolidWorks Sr. Technical Support Engineer, recommends this schedule:

Daily:

  • Preform backups of the SQL database (and log file if using Full Recovery Mode)
  • If using the SQL backup feature, offload the backup from the SQL server

Weekly or Monthly:

  • Rebuild the SQL indexes using SQL Maintenance Plan Wizard
  • Review the MDF and LDF files to make sure they haven’t exceeded the initial sizes
  • Defrag the SQL drives

Quarterly:

  • Check the integrity of the SQL backup by restoring and testing a recent database backup on a test setup

Jeff Sweeney

Jeff Sweeney
Engineering Data Specialist
3DVision Technologies

Keeping the welders happy.

Tuesday, June 15th, 2010

Welders. They’re a finicky bunch. Some want to total length of the stock pieces, others only want a cut list. How can you keep both sides of the weld shop happy?

SolidWorks Enterprise PDM 2010 can get you both automatically! You don’t even have to raise a mouse-button-clicking-finger.
cutlist

When you are in the “Bill of Materials” tab of a weldment, you can have two types of weldment BOMs available to you. A weldment BOM and a weldment cut list. A weldment BOM lists the components and total component length for the weldment part. A weldment cut list contains the cut lengths and quantities for each component.

Isn’t it great when you can make people happy when the software does all of the work? Now the Montagues and Capulets can be together at last.

Jeff Sweeney

Jeff Sweeney
Engineering Data Specialist
3DVision Technologies

Enterprise tracks inspection records

Thursday, June 3rd, 2010

If you work for a company that needs to inspect your designs periodically after they are built, SolidWorks Enterprise PDM can be a great tool to help you keep track of these inspections.
inspect
Most people’s first reaction would be to simply “Paste as Reference” the inspection record sheet to the inspected part. However to do this, after every inspection you would need to check out the part – typically creating a new revision of the part. Since an inspection shouldn’t bump the revision of the part, I don’t think this method is very logical.

Instead, create an item associated with the part and attach the inspection records to this item. Thus, the history of the item is the same as the inspection history of the part! You can easily see how many times the part has been inspected, dates, inspector, findings…

inspection

Wait there is more! If you include information on your item card such as how often this component needs inspection, Enterprise PDM can be used to help you schedule your inspections. Imagine a radio button on the card that reads: “This component needs inspected every: 6 months, 1 year, 2 years…” Now finding all components that are due for inspection is never more than a quick search away.

Jeff Sweeney

Jeff Sweeney
Engineering Data Specialist
3DVision Technologies