Continue to Site

Welcome to MCAD Central

Join our MCAD Central community forums, the largest resource for MCAD (Mechanical Computer-Aided Design) professionals, including files, forums, jobs, articles, calendar, and more.

import descriptions from Excel?

Audra

New member
I have been using SolidWorks for about three months. The engineer who has been helping me taught me to follow our company standards from the beginning, so I've included a description every time I've saved a part. Unfortunately, not everyone has done that in the past, and we have thousands of parts that don't have descriptions.

We are using IPA, an animation program, to make our parts manuals, and if the description is in the SolidWorks file, it will be displayed in the IPA graphic. I'd rather not have to do this one at a time, though.

All of our part numbers have their associated descriptions in our PDM
system, and I could easily export that data into an Excel spreadsheet. I'm looking for a way to import that data into SolidWorks.

Does anyone have a macro that would import this type of data from an Excel file? Or, maybe someone has a different idea to accomplish what I need?

Thanks!
Audra
 
Audra,


Ido not haveno solution for your problem but i have a thought.


If i recieve files from other companies i use the SolidworksTaskScheduler for inserting customproperties fields in those files. I use these custom properties for information in my drawings.


Maybe you can try to update your description field directly from your PDM system(I 'don't know that because i'm not using PDM)


I'm thinking you better get in touch with your SolidWorks supplier for an answer on this subject because it's very specific.


With regards


Joop
 
Hi Joop,

I contacted them, and they didn't know of a way to do it. They suggested that someone may have written a macro to do this, and that I ask around for that.

I'll be taking an advanced course in a couple of weeks, so maybe I will get some answers there.

Thanks,
Audra
 
I have cobbled together a macro that can do this, but it is tailored to our operations. It will not batch process files, but will modify or delete properties one at a time without right-clicking in windows explorer and you do not need to open up SW. Let me know if you'd like to try it out on a file or two and see if it will help. I can't guarantee that it will work on your computer, but it works pretty well on mine.
 
Hi thinkn3d,

When you say it will modify or delete properties one at a time without right-clicking in windows explorer, does that mean that I would have to type in each description manually?

Thanks for your time,
Audra
 
The way that it's currently written, you'd still have to locate each SolidWorks file individually and then copy and paste the description from your spreadsheet into an input box. It would take a lot of additional work to write it to automatically add the descriptions to many files at once. Also, error checking becomes an issue such as missing directories, missing files, an item number with no part or assembly associated, on and on and on. So you still will have some work to do.
 
I'd appreciate being able to look at it. Can you email it to me? audra at doc-u-motion dot com.
 
I found out today that the Description field makes use of Windows technology, and changing it can be done without involving SolidWorks. One of our programmers is going to write a VB script that will make the changes from the Excel file.

If you look at any file in Windows Explorer, you can right-click and go to Properties you can see what I'm talking about. On the Custom tab, you can enter Description (or whatever field you want) for Name and the text you want for Value. It does not work on read-only files, though.

If you have any questions about it, let me know, and I'll try to help.

Have a great week,
Audra
 
HI,


just have a question. what is IPA i understand its some sort of animation program. What can you do with it. where can i get it? can i download it from somwhere?


Thanks
 
Hi Agulban,

IPA stands for Interactive Product Animator. You can use it to create interactive parts lists, animations of procedures, sales demos, etc. There's a 30-day trial you can download. My contact is Lisa Bronson--you can reach her at [email protected]. She can send you demos and other information that will help you understand it.

HTH,
Audra
 

Sponsor

Articles From 3DCAD World

Back
Top