AutoCAD Electrical Forum
Welcome to Autodesk’s AutoCAD Electrical Forums. Share your knowledge, ask questions, and explore popular AutoCAD Electrical topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to set the current directory for the Migration Utility in a .migr file

0 REPLIES 0
Reply
Message 1 of 1
c_heineke
159 Views, 0 Replies

How to set the current directory for the Migration Utility in a .migr file

The settings of the migration utility can be imported from a .migr file. I would like to provide .migr files to our customers so they can easily import our electrical components into their AutoCad Electrical. The path to a MDB file must be splitted in two XML nodes: <Path> and <Filename>. This looks like this:

 

<Source>
<Path>D:\Electricalparts\</Path>
<Filename>somepart.mdb</Filename>
</Source>

 

The above nodes work perfectly if the file D:\Electricalparts\somepart.mdb exists. However I do not know at which path the user will copy the MDB and the .migr files, we have sent him inside a ZIP, so i need to put the current directory in <Path>. I have tried many variations like this one for example:

 

<Source>
<Path>.\</Path>
<Filename>somepart.mdb</Filename>
</Source>

 

The Migration Utility did never show the part to be imported. Is there any way to tell the Migration Utility in the .migr file that the MDB file is in the current directory?

0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report