[python-win32] Access femap API, Type mismatch

2010-12-02 Thread Jim Ragsdale
I am trying to access the femap API, and having a bit of trouble. Here is a simple example: from win32com.client import Dispatch femap = Dispatch(femap.model) rc = femap.feAppGetActiveView(viewID) This method, according to the documentation, is supposed to return a long integer in viewID. If I

Re: [python-win32] Access femap API, Type mismatch

2010-12-02 Thread Tim Roberts
Jim Ragsdale wrote: I am trying to access the femap API, and having a bit of trouble. Here is a simple example: from win32com.client import Dispatch femap = Dispatch(femap.model) rc = femap.feAppGetActiveView(viewID) This method, according to the documentation, is supposed to return a