start
My intention is that this can become a repository of code snippets for Python interacting with Microsoft Visio.
Example Python code
Docuwiki has a built-in syntax highlighter that understands Python
- printdocs2.py
import win32com.client appVisio = win32com.client.GetObject(Class="Visio.Application") docs = appVisio.documents docCount = docs.count print(docCount) for doc in docs: print(doc.name)
General considerations
Getting Started
Get Miniconda with Jupyterlab started
Starting Visio
Getting Visio Instances
Creating And Accessing Documents
Accessing Visio Objects
Examples and Snippets
start.txt ยท Last modified: 2022/02/22 11:53 by yacine