Reverse Engineer Starter Kit?

F

frankgrimes007

Reverse Engineer Starter Kit?

Hello.

I need a tool that does the following code example, but any hints on
where to start would be great. Thanks in advance.

// Create UML model diagram and will the Model Explorer with
Packages
// and classes based what is retrieved from a file system directory
// so...

filename List = GetDirectory()
Visio UML model diagram MyNewFile.vsd = new Visio Uml model diagram

// All this stuff should be visable in the Model Explorer
// under the top package
For i = 0; i < filename List.filecount; i++

filename = filename List

If filename.type is directory
create new package and call it the directories name
End

If filename.type is file
create a new class

If filename.extension like '.JS'
set the class stereo type = <<JS file>>
End

If filename.extension like '.IMG'
set the class stereo type = <<IMG file>>
End

If filename.extension like '.PL'
set the class stereo type = <<pl file>>
Else
set the class stereo type = <<very odd>>
End
End
End For

cmd visio.exe /f MyNewFile.vsd

That would be great.

Im using Visio for Enterprise Architects 2003 (maybe 2005)
Im willing to code but I have little time to get this done.e
Frank
--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top