Bjorn_Steinhagen
Structural
- May 22, 2019
- 10
Hi All,
Been trying to work with the ETABS API through Python. Majority of work will be done on existing ETABS models therefore trying to connect to existing instances of an ETABS model. When just trying to attach to a running instance of ETABS through Python I get the error:
AttributeError: module 'comtypes.gen.ETABSv17' has no attribute 'cOAPI'
This is strange as my colleague ran the exact same script on his PC and all worked fine and he could successfully work on ETABS models. Could anyone provide any insight on getting this to work? I have installed comtypes library.
Any help would be greatly appreciated.
Find Python script attached (straight copy and paste from the .chm help file).
Thanks!
Been trying to work with the ETABS API through Python. Majority of work will be done on existing ETABS models therefore trying to connect to existing instances of an ETABS model. When just trying to attach to a running instance of ETABS through Python I get the error:
AttributeError: module 'comtypes.gen.ETABSv17' has no attribute 'cOAPI'
This is strange as my colleague ran the exact same script on his PC and all worked fine and he could successfully work on ETABS models. Could anyone provide any insight on getting this to work? I have installed comtypes library.
Any help would be greatly appreciated.
Find Python script attached (straight copy and paste from the .chm help file).
Thanks!