Export/Import Cable and Harness Library

Export/Import Cable and Harness Library

brent_e_barbour
Collaborator Collaborator
1,115 Views
1 Reply
Message 1 of 2

Export/Import Cable and Harness Library

brent_e_barbour
Collaborator
Collaborator

I’m giving you the back story of this in case anyone has an idea of a better way to do this and then I’m giving you my problem.

 

Back story…

I store the “Cable&HarnessDefaultLibrary.iwl” file on a shared network location (\\Server\Standards\Inventor %RELEASE%\Design Data\Cables & Harness\en-US) so we’re all working from the same Cable & Harness Library. Whenever I install a new version of Inventor, I create a new folder at the shared network location to put all our shared libraries and tables in. For instance, \\Server\Standards\Inventor 2017..., \\Server\Standards\Inventor 2018..., \\Server\Standards\Inventor 2019..., etc. I put all the default Inventor files in those directories and then overwrite some of the default tables and library files with the legacy files we’ve developed from previous versions. Anyway, after installing 2019, I forgot to copy over the “Cable&HarnessDefaultLibrary.iwl” file. We’ve added wires to the 2019 “Cable&HarnessDefaultLibrary.iwl” file over the past year. I opened up an old legacy assembly with a wire harness and it can’t find wires that existed in the 2018 “Cable&HarnessDefaultLibrary.iwl” file but not in the 2019 “Cable&HarnessDefaultLibrary.iwl” file. So now I have 2 versions of the “Cable&HarnessDefaultLibrary.iwl” file with different wires that need to merge into 1 library file. So, my plan is to simply export from one library and to import into the other to make that the new 2019 default.

 

Problem…

I go into Cable and Harness Library, click on Export Library Wires, and specify the paths and file names for the Data File (.csv) and the Configuration File (.cfg). When I click “OK’, I get an error “Missing, locked, or empty configuration file…” Why would it be looking for an existing file? Aren’t I creating a new .cfg file in the export process?

 

See attached .jpg for further clarification...

0 Likes
Accepted solutions (1)
1,116 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Accepted solution

Hi Brent,

 

The .cfg file isn't something you are actually making. It's a format file that shows inventor how you want the data imported/exported to the reports.

 

https://knowledge.autodesk.com/support/inventor/downloads/caas/downloads/content/inventor-sample-fil...

 

At the link above, you'll want to download the sample file pack for your version of Inventor. You might already have them from when you set up your Wire Library. Once downloaded, you'll need to locate the file "WireLibrary.cfg."

 

I don't know for sure if it will store in the same place, but mine is located under "Inventor 2019->Samples->en-US->autodesk_inventor_2019_samples_dlm->Models->Cable & Harness->Wire Library".

 

Once located, you can select the path to that file for your library export.

 

Let me know if I missed anything.