Bug: ProfileCurve containing EllipticalArc3D has wrong geometryType property

Bug: ProfileCurve containing EllipticalArc3D has wrong geometryType property

Anonymous
Not applicable
313 Views
0 Replies
Message 1 of 1

Bug: ProfileCurve containing EllipticalArc3D has wrong geometryType property

Anonymous
Not applicable

ProfileCurve containing EllipticalArc3D has wrong geometryType property

 

Found in:

Fusion 2.0.7830

Python API

 

Expected result:

geometryType property should return 4: EllipticalArc3DCurveType

 

Actual result:

geometryType property returns 3: Ellipse3DCurveType

 

Proof:

print(profileCurve.objectType)
print(profileCurve.geometry.objectType)
print(profileCurve.geometry.curveType)
print(profileCurve.geometryType)

output:

adsk::fusion::ProfileCurve
adsk::core::EllipticalArc3D
4
3

 Workaround:

 

Use

profileCurve.geometry.curveType

 

0 Likes
314 Views
0 Replies
Replies (0)