CorelDraw 2020 crashes when changing Rectangle corner type / radius using macro.

So I recently updated to CorelDraw 2020 from X7.  I'm moving over my macros and I've run into a view issues.  My biggest problem right now is that I cant change a Rectangle Shape's corner radius / type without crashing CorelDraw.  This error doesn't even bring up the VBA debugger with an error on the offending line of code in the macro. The following is the code being used in my macro that causes a crash:

Sub StartTest() '

Dim OrigSelection As ShapeRange
Set OrigSelection = ActiveSelectionRange
Dim s1 As Shape
Set s1 = OrigSelection(1)

s1.Rectangle.CornerType = cdrCornerTypeChamfer ' crash occurs here
s1.Rectangle.RelativeCornerScaling = True

s1.Rectangle.RadiusLowerLeft = 0.4
s1.Rectangle.RadiusLowerRight = 0.4
s1.Rectangle.RadiusUpperLeft = 0.4
s1.Rectangle.RadiusUpperRight = 0.4

End Sub

So after selecting a Rectangle shape in my document and running this macro I get a crash.  I've even recorded a macro where I simply change the corner type to Chamfer and edit the radii and after replaying the macro it causes a crash.

My OS is Windows 7 by the way.

Any insights into this issue would be greatly appreciated!

No Data
Reply Children