Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

Etabs V21 API errors with cFrameObj using python 1

Status
Not open for further replies.

rscassar

Structural
Jul 29, 2010
631
0
0
AU
has anyone else getting errors when using the cFrameObj function when using the API with python in the V21 release?
 
Replies continue below

Recommended for you

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.
Back
Top