Closed flycast closed 2 years ago
This Works:
case IXSketchLine xSketchLine: var swSketchLine = xSketchLine as ISwSketchLine;
Does not work. I get null for swSketchArc:
case IXSketchArc xSketchArc: var swSketchArc = xSketchArc as ISwSketchArc;
This works though:
case IXSketchCircle xSketchCircle: var swSketchCircle = xSketchCircle as ISwSketchCircle;
Even weirder...It works as a workaround to cast IXSketchArc to ISwSketchCircle.
case IXSketchArc xSketchArc: var swSketchArc = xSketchArc as ISwSketchCircle;
This is a bug. It has been fixed in the 0.7.7 (currently in dev branch) and it is now available in the preview nuget feed.
Unit test is also updated to handle this case.
As always, thanks!
This Works:
Does not work. I get null for swSketchArc:
This works though:
Even weirder...It works as a workaround to cast IXSketchArc to ISwSketchCircle.