3DCADWorld Network | 3DCADTips | 3DCADTutorials | 3DCADForums | 3DCADSearch | 3DCADBooks | Design World






Get CAD tips and tutorials on your desktop when you register at 3DCADTips.com!

3DCADTips Weekly
Latest Issue
Archive

3DCADTips Forum Update
Latest Issue
Archive






Visit 3DCADSearch.com - The CAD & Graphics Search Engine!!




  #1 (permalink)  
Old March 28th, 2006, 04:52 AM
Captain Captain is offline
Junior Member
 
Join Date: Mar 2006
Posts: 7
Smile Importing attributes into AutoCAD

Does anyhow know of a macro, or just a means to import the 'custom properties' (attributes) from a Solidworks Drawing into AutoCAD's attributes file. It seems to be very easy to extract from AutoCAD to SW but not the reverse???

Also this is for a large amounts of files so, manually achieving the task is far too daunting!

Perhaps a VB macro will need to be created

any ideas??

Thanks in advance

Last edited by Captain : March 28th, 2006 at 04:58 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Link


  #2 (permalink)  
Old April 2nd, 2006, 08:41 AM
bcampbell
 
Posts: n/a
Default

Sorry, I have no ideas.

SolidWorks registers it's variables as microsoft variables, in ACAD you might be able to find a routine that can read microsoft variables and thus would have the SW variables.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old April 12th, 2006, 09:02 PM
Captain Captain is offline
Junior Member
 
Join Date: Mar 2006
Posts: 7
Default Answer to my own Question

Hi all,

Since I only work at this job 2 days per week, it has taken me some time to completly solve my problem.. However I do have an answer and I believe this may help anyone who faces the same issue in the future.

Step 1: Exporting custom properties from Solidworks: The simplest way i found to extract this data is to export them from PDM works. Right click on the drawing, Document Info, Output to file, change file type to comma delimited (csv).
For users without PDM works or similar.. The same can be achieved simply by using SW through; File, Properties, Custom Properties (tab). Then selecting all rows from the left side row labels. (note: this method has flaws if perfroming for multiple drawings because data may not be in uniform order, this is required for steps further onwards)

Step 2: Should you require drawing no. also this must be obtained from the part document properties. Simply repeat step 1 for the part.

Step 3: Join the data from both spreadsheets and rename as an .xls (remember the layout of the spreadsheet as this will need to be uniform if multiple files drawings are being created)

Step 4: Obtain CADTool from http://www.cadtool.net/ the demo works fine or purchase the full version..

Step 5: Follow the tutorial on hot linking excel spreadsheets to blocks

Step 6: Save the linked block to chosen file address

Step 7: Insert Block in AutoCad as many autocad dwgs as u please.. all that is required is that u set the link to the appropriate excell file..

I hope this helps..

Pls feel free to ask for more help if needed as I had to rush the last few steps

Hope someone finds my hours of toil useful

Enjoi

Nath
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old April 13th, 2006, 08:59 AM
Jim232 Jim232 is offline
Junior Member
 
Join Date: Mar 2006
Posts: 5
Question In batch mode?

Are you able to do that procedure in batch mode for many drawings at a time? You mentioned that in your initial post. I was just wondering .

Jim
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old April 17th, 2006, 03:15 AM
Captain Captain is offline
Junior Member
 
Join Date: Mar 2006
Posts: 7
Default

Sadly no. The process is done for each dwg. However I managed to get the time down to under 4 mins per file. This equates to 4.5 days of file manipulation.. good times to be had
Nath
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old May 11th, 2006, 07:19 PM
Captain Captain is offline
Junior Member
 
Join Date: Mar 2006
Posts: 7
Default More Detail

Should anyone required a further step-by-step guide I have compliled an official document as a requirement for my workplace.. Just let me know and I'll post it somewhere

Nath
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old May 11th, 2006, 09:24 PM
support
 
Posts: n/a
Cool Attach it to this thread...

Can you zip it up and attach it to a post to this thread? Then others can download it if they want.

Thanks.
3DCADTips Help Desk
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -6. The time now is 08:26 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0