python and microsoft visio

J

Jaco Smuts

Hello there

short question: Any body got experience in extracting information from
visio drawings using python.
I presume I am looking at something like
win32com.client.Dispatch('Visio.Application [or Drawing]), but I am a bit
lost.


long version:
I am about to embark on an excersize to document existing deployment of
middleware in our organisation.
(will also be used for design of future projects)
The standard used for architecture and design docs here is MS Visio.
I am hoping to write a python script to extract information from these
drawings. Then use this information to test the actual deployment vs. the
documents.
Any ideas will be appreciated.

thanks
Jaco
 
G

Gerrit Muller

Jaco said:
Hello there

short question: Any body got experience in extracting information from
visio drawings using python.
I presume I am looking at something like
win32com.client.Dispatch('Visio.Application [or Drawing]), but I am a
bit lost.


long version:
I am about to embark on an excersize to document existing deployment of
middleware in our organisation.
(will also be used for design of future projects)
The standard used for architecture and design docs here is MS Visio.
I am hoping to write a python script to extract information from these
drawings. Then use this information to test the actual deployment vs.
the documents.
Any ideas will be appreciated.

thanks
Jaco
Jaco,

I am using Python to automate the generation of derived formats: eps and
gif. My experiences with this combination are that Visio automation is
somewhat shaky. I am using Visio 5. On the net I hear that newer Visio
versions have changed the export functions I am using, but they did
apparantly not improve :-(. The symptoms are Visio crashes because of
some memory problem. Despite this intermittent problem I generate the
complete Gaudi site, with over 700 different Visio Diagrams, with these
tools. You are welcome to have a look at my scripts, but they are really
very poorly documented, abosuletly non-fool proof, scripts.

kind regards, Gerrit
 

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

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,900
Latest member
Nell636132

Latest Threads

Top