How to transfer Custom Properties from Excel File

Part   NumberDescription 1Description 2MFG P/N#MFGVENDOR P/N#VENDORE CODEVENDOR
700001SPACER RND 18-8 SS #8 SCR 0.50LGX0.312OD 92320A445MCMAST680McMaster-Carr   SUP.Co.

700002

SPRING COMPRESSION MUSIC WIRE 0.312ODX1.50LGX0.023DIA 9657K107MCMAST680McMaster-Carr   SUP.Co.
700003SPACER RND CERAM 0.140IDX0.25ODX0.25LG 96109A160MCMAST680McMaster-Carr   SUP.Co.
700004GROMMET RUBBER BUNA N AN391 #2101/8IDX11/32ODX3/16WALL 9307K35MCMAST680McMaster-Carr   SUP.Co.
700005CNTRL DUAL DISP RED/GRN PID 1/16 DIN 24-28VDC SD6C-LCAA-AARGWatlow Electric Mfg.   Co.SD6C-LCAA-AARG
Watlow Electric Mfg. Co.
700006TEE FEM FLERTPFA TBE 1/2 OD UT8T-8-8TFN-1EntegrisUT8T-8-8TFN-1VALINC161Valin   Corporation

How I can export the custom properties via macro all other miens across different parts

not a drawings automatically

Thanks,

Alex

SolidworksImport export
Answers 6
JC
JC 2011-03-17 Best Answer

Alex,

If you have the custom properties in an excel file and you want them as custom properties in a part, then you could insert a design table in the part and then cut and paste the properties from your spreadsheet to the design table

AD
AD 2011-03-17

Josh,

Thank you for you respond

I think what you suggestingwould work for one file at the time or dot file. 

What I real need is populate each unique Part Number/File, of solid works file that has same name

as column Part Number so the Sldwks file is = 700001 

and write in this file data from column, Description1; Description2; MFG P/N#; MFG; VENDOR P/N#; VENDORECODE; VENDOR; to custom properties

and then due this for next 700003; 700004; 700005; 700006, etc via automatic mode or SLDWKS Scheduler   I have more then 2000 files to update with unique date for each 7000 series file

Thanks

Alex

JF
JF 2011-03-17

that sounds like something the API could handle. I would re-post your question in the API section.

also there are some third part softwares that edit custom properties on groups of files, not sure they can do everthing you would want though.

SM
SM 2011-03-17

Alex,

If I understand you correctly look into creating a tab builder file.

Once setup all you have to do is open your file, open the tab builder

and the properties are automatically added.

http://help.solidworks.com/2010/english/SolidWorks/oh_propertytabbuilder/AllContent/SolidWorks/NonCore/PropertyTabBuilder/c_Property_Tab_Builder_Overview.html

SF
SF 2011-03-18

This can be easily done by macro.

Search API section. This has been discussed several times.

You can put your question in API section also.

You need a way to open files one by one automatially. Once you achieve this, you can run second part of the macro where you connect to excel file and copy data to properties.

MG
MG 2013-05-22

You can see something similar at:

https://forum.solidworks.com/message/360943#360943