Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations JAE on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Etabs V21 API errors with cFrameObj using python 1

Status
Not open for further replies.

rscassar

Structural
Joined
Jul 29, 2010
Messages
631
Location
AU
has anyone else getting errors when using the cFrameObj function when using the API with python in the V21 release?
 
Not specifically with cFrameObj, but I have had to update a lot of my code from v19 and v20 into v21.

I have noticed very minor changes to the API that will cause old code that used to work on older versions that needs updated for v21.

What are you trying to do with cFrameObj?

S&T -
 
It was using python, a comtypes error, I believe the message was an index error out of range using comtypes safearray. I uninstalled and went back to using Etabs v20. I won't have time this year but I'll dig a little deeper into it over the holiday break.
 
I just tried cFrameObj on ETABs v21 and had no issue with cFrameObj.GetPoints method.

image2_vkcvue.png


My comtypes version is 1.1.7.

Let me know what method you were trying to access and I can try it out.

S&T -
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top