Message 1 of 4
Offset curve exception

Not applicable
07-19-2015
04:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
According to AutoCAD.NET guide, Curve.GetOffsetCurves will offset inside in case of negative values. Now I did the following test:
- Draw circle with radius = 2 units, and 2x2 square
- Try to offset inside with distance = 2.5 as follows: var offsetObj = Curve.GetOffsetCurves(-2.5)
- This line has been silently skipped in case of the square (polyine) but raised an exception for the circle!!
Is this a bug in AutoCAD.NET or am I missing something here?