Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB6 - how do I get a list of Models used in a draft?

Status
Not open for further replies.

beachcomber

Mechanical
Jan 19, 2005
1,488
Hi everyone,
I'm using VB6 to get the models that are used in a draft file, but I'm not sure how as my VB experience is quite limited.
We have several projects, each new one created from a previous. Sometimes we have found that the new drawing is looking at the previous project model so I would like to interrogate each draft file in a directory and list the model/models that are used to create it.
Can anyone help me with the procedure to do this ?

bc.
 
Replies continue below

Recommended for you

bc,

maybe the following program does what you want;

check draft

The language has to be changed to English. The readme.txt is not fully
translated into English.

dy
 
Thanks Don,
Not quite what I was looking for but I've sorted it now.
I've butchered a copy of the existing SE Batch plot/convert program to do what I want.
It works fine, and gives me a text file that lists each drawing and the models used to create it. It's usually a single model, but on fabrications we sometimes also detail components individually.
A simple search and replace for the path where the model should be just leaves the paths of incorrect files.

Thanks

bc.
 
bc,

[...]
It works fine, and gives me a text file that lists each drawing and the model
[...]

that's what that program, beside other things, does. The
files to create the drawing will be listed in the logfile

dy
 
Sorry Don,
I should have explained a bit better -
I found the interface a bit cumbersome and not really user friendly. Unless I got it completely wrong, you have to type in the path you want to search.
With the batch based one I can select individual files, folders and sub-folders and define my own log file names at run time, so that I can split up proessing and review of log-files into manageable chunks.
Our projects typically comprise 900-1000 drawings.
We still can't get through to our client that it's wasting a lot of money copying models and drawings repeatedly for new projects - even when they are EXACTLY the same part as the previous project. Usually the only things that change are the title blocks of the drawings.

Thanks again.

bc.
 
[...]
I found the interface a bit cumbersome and not really user friendly. Unless I got it completely wrong, you have to type in the path you want to search.
[...]

AFAIK you can use Drag & Drop even a bunch of files/folders
Upon Start a log will be created otherwise data will be appended to the existing file

dy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor