Some time ago I was informed that there would be no changes to Ansys ACT API in further releases. But now I've switched from 24R1 to 24R2 and a function I used for a long time to extract the internal and external radius of a pipe cross-section stopped working, crashing multiple plugins/scripts I did.
There was no warning message that this function was obsolete. Why was it changed? Is there any document where that change was noted? Are there more functions that are being turned off?
Code:
geo_body = analysis.GeoData.GeoEntityById(edge_id).Bodies[0]
cross_sec = geo_body.CrossSection
geo_rad_out = cross_sec.Input.Variables.Item(2).Value(1)
geo_rad_int = cross_sec.Input.Variables.Item(1).Value(1)
Error msg:
AttributeError: '__ComObject' object has no attribute 'Input'