Exporting Content Center Data (Part Number, Description, etc.) to an Excel file

Exporting Content Center Data (Part Number, Description, etc.) to an Excel file

chelmickVUXUE
Participant Participant
306 Views
5 Replies
Message 1 of 6

Exporting Content Center Data (Part Number, Description, etc.) to an Excel file

chelmickVUXUE
Participant
Participant

Hello, I would like to export data from a custom content center library to an excel file so that I can share it with our purchasing/inventory teams. 

 

Basically, I would like to compile an excel sheet with data (Part Number, Vendor, Stock Number, and Description) from all the parts in a custom content center we have created. I found a decent article on the Autodesk website with an iLogic code which I believe is getting me on the right track, but I am having issues modifying the code to pull all of the previously mentioned data, specifically Vendor and Description. 

 

Here is a link to the code:

How to export the whole Inventor Content Center Library Standard to the Excel file. 

0 Likes
307 Views
5 Replies
Replies (5)
Message 2 of 6

Frederick_Law
Mentor
Mentor

Edit custom content center.

Edit the table in Excel and copy or save it as another file.

CC-Table-01.jpgCC-Table-02.jpg

0 Likes
Message 3 of 6

chelmickVUXUE
Participant
Participant
That is certainly an option, however I am looking for a way to export the entire content center library to excel instead of doing it manually Family by Family.

The iLogic code I linked initially gets close but doesn't include all of the data that I need.
0 Likes
Message 4 of 6

A.Acheson
Mentor
Mentor

Adjusting this type of code really is a trial and error approach. Your families need to have consistent internal names. I suggest to carefully follow the patterns for each iproperty. Can you post the modified code your using? 

If this solved a problem, please click (accept) as solution.‌‌‌‌
Or if this helped you, please, click (like)‌‌
Regards
Alan
0 Likes
Message 5 of 6

chelmickVUXUE
Participant
Participant

I just took the code linked in the original post and added Vendor, Stock Number, and Description following the patterns I could find. It worked for Stock Number, but for some reason Vendor and Description are not populating. 

 

I also noticed that the results of running the code differ each time I run it (ie. the first time it had data populated for ~1400 parts, the second time ~600 parts, and the third time ~1800 parts). 

0 Likes
Message 6 of 6

A.Acheson
Mentor
Mentor

Hi @chelmickVUXUE 

 

It seemed to work ok for me. For the iproperties not working is the internal column name matching? The display name and internal name might be different.

If this solved a problem, please click (accept) as solution.‌‌‌‌
Or if this helped you, please, click (like)‌‌
Regards
Alan
0 Likes