Posts Tagged ‘EPDM’

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

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

Drag and Drop beats Cut and Paste in EPDM

Friday, May 21st, 2010

When moving directories or files within your local SolidWorks Enterprise PDM vault view, “drag and drop” rather than “cut and paste” them. If you cut and paste, Enterprise wants to bring all files to be moved to your local cache before the move begins. With drag and drop, the directories and files simply move without being brought to your cache. (Witnessed with version 2010, SP2 and older)

Nine “Engineering Data Specialist Man Points” to whoever can tell me why this is so!

Jeff Sweeney

Jeff Sweeney
Engineering Data Specialist
3DVision Technologies

A crystal ball on your desktop

Thursday, May 6th, 2010

The following was an actual conversation at ABC Company. Only the names,  sentence structure and content has been changed:

Purchasing Agent: Whoa geez, I just received this BOM from Jeff, our best engineer. This BOM calls out just one ACME Jim-Dandy Wagon. <sigh> Ordering just one is going to cost an arm and a leg. I don’t get a price break until I order ten. Our ACME sales rep is going to be able to buy a new boat with this order. Wait a minute! I’ll do a quick search in my SolidWorks Enterprise PDM program to see if any other engineer has the Jim-Dandy wagon on an assembly he plans on requisitioning soon…or maybe I’ll look at some of my new dashboard reports Engineering Data Specialist Man produced for me. Wow! There are eleven more Jim-Dandy wagons on assemblies Jimmy has scheduled to be released next week.

Purchasing agent dials Jimmy’s extension.

Jimmy: Hello

Purchasing Agent: Jimmy, I see you have eleven Jim-Dandy wagons on assembly 112568 that is scheduled to be requisitioned. What is the likelihood that this will happen?

Jimmy: Pretty good, the customer just approved everything in our last design review. I expect to get this job off of my desk by tomorrow morning!

Purchasing Agent: Thanks Jimmy. <hangs up the phone> Wow, now that we have all of our engineering data stored inside of a database, I have a lot more data available to me and I can make smarter purchasing decisions. It is like having a window into the future. Thanks Engineering Data Specialist Man!

Jeff Sweeney

Jeff Sweeney
Engineering Data Specialist
3DVision Technologies

SolidWorks looking good with Toolbox 2010

Monday, May 3rd, 2010

So how good is the SolidWorks 2010 toolbox integration?
toolbox
Is it possible that they finally have it right? Yeah, maybe…2010 has some huge improvements over old grandpa 2009.

[For my Enterprise PDM friends, you've certainly heard from many people talking about we no longer the issue with remote locations trying to access the single Microsoft Access file. Fixing that issue is crazy huge. Replication of your toolbox to multiple sites is now possible.]

We’ve all always had the issue of what happens when you open an assembly with toolbox fasteners that are not part of your toolbox. Today I ran this little experiment.

  1. I created a new assembly and added a SHCS that I received from a customer to this assembly. For this fastener, I chose a configuration that was not in my toolbox’s SHCS
  2. Saved and closed both files
  3. Opened the assembly
  4. SolidWorks recognized that the assembly had the SHCS at a different configuration than what was already in my toolbox and it asked to create the configuration in my toolbox part
  5. I answered yes
  6. Now the assembly referenced MY toolbox part. My toolbox part now contains the new configuration. [Pretty cool! So I continued:]
  7. In the assembly I manually swapped back my toolbox fastener, with the original fastener
  8. Saved/Closed the assembly
  9. Opened the assembly
  10. SolidWorks automatically replaced the SHCS’s file path to my toolbox path, without asking me anything.

Looks like SolidWorks and the Toolbox are working hard to ensure you are always looking at fasteners from YOUR toolbox, not fasteners from external directories. As Martha Stewart says, “This is a good thing.”

Jeff Sweeney

Jeff Sweeney
Engineering Data Specialist
3DVision Technologies