Open and manipulate MS Project File using PyRevit

Open and manipulate MS Project File using PyRevit

duongphong29
Enthusiast Enthusiast
646 Views
1 Reply
Message 1 of 2

Open and manipulate MS Project File using PyRevit

duongphong29
Enthusiast
Enthusiast

Hi!

 

I am trying to access to MS Project files that in the same directory of my revit file.

 

I need to import win32com.client to open the file. But PyRevit told me that "No module named win32com.client"

 

So I understand that win32com.client can not be used through IronPython Engine or Cpython Engine insided PyRevit.

 

Is there another way for me to do this? 

0 Likes
647 Views
1 Reply
Reply (1)
Message 2 of 2

mhannonQ65N2
Collaborator
Collaborator

For CPython, did you install win32com.client?

To use COM interop in IronPython, you should use the standard .Net Framework COM interop features. There are also .Net libraries specifically for working with office files.

0 Likes