Import a project into PDM

Hello

Here is my problem, I am just starting to use PDMWorks, all my CAD is well stored in many folders, how can I put everything in the safe at once following the same storage?

thank you in advance

 

Good evening

I don't think there is a simple or free solution!

 

Some resellers have already had to do similar imports (you can find out about the cost), I think they proceed as follows:

 

Warning: this will require a lot of programming in VBA, I hope it doesn't scare you!

 

1st step: create your tree structure.

We can do this with Excel, this post gives a solution: http://www.developpez.net/forums/d325914/logiciels/microsoft-office/general-vba/contribuez/vba-lister-sous-repertoires-fichiers/

 

2nd step: reproduce the tree structure in the PDM:

Read the pages up to the 3rd of this PDF:

http://www.cadsharp.com/docs/pdmworks_api_winters.pdf

 

On page 3, we have the list of all the attributes of each type:

For each of your Windows folders, you'll need to use a:

myPDMconn.CreateProject with attributes from your tree

 

Step 3: Check all your documents in each folder, as explained on page 4 of the PDF document.

 

Maybe the best is to interlock the 3 steps:

The program finds a Folder => Project Creation in PDM

The program finds a File => Archive in the PDM

 

In any case, do this on a test basis, and try for example with a Folder, which contains 2 subfolders and a SolidWorks file in each of the 3 directories!

 

The total time to do the import will be very long, it is recommended not to use the vault during this time, so having the test database on a local computer would be a good idea, to replace the final database later, unless you have already started using your PDM...

So you have to launch the program on a Friday evening, and have remote access with TeamViewer for example.

 

There you go, I hope I've answered your questions and if you have a particular request on one of the points, open a new question on Lynkoa!

 

Good luck and happy coding!

 

2 Likes

In fact, you can copy a database from one vault (for example your test database) to another with this utility:

http://solidworksheard.com/blog/2008/4/4/copy-pdmworks-workgroup-projects-to-another-vault.html

2 Likes

Ok thank you I'll see about it with a computer scientist from my company when he's there I'll keep you informed but now I admit I'm a little overwhelmed.

Hello

I had the axemble hotline this morning at the tel it's obviously feasible in the administrator part, in the project tab there is bulk archiving then you have to check the box create use under folder for subprojects and there it recreate any tree in the safe as it was in the folders I test it within the week I would tell you if It worked.

1 Like

tested in the morning it works

1 Like

Hello

 

In fact, bulk arching only allows you to archive a folder in a project in the vault, but not the entire tree? You have to repeat the operation for each folder, and subfolder, right?

no need to repeat the operation, it follows tree structure if you have checked the box " Create/use subprojects for subfolders " in the project tab of the Vault admin.