Offset error

Offset error

Anonymous
Not applicable
265 Views
1 Reply
Message 1 of 2

Offset error

Anonymous
Not applicable
Hi,

I would like to offset a closed polyline to the inside. But when the object is too small, it generates an error. If the object is too small, it must bypass another routine. How?

---
offset polyline
if offset<>error then
execute routine
end if
---

kind regards,

Wouter de Haan
0 Likes
266 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Public Sub Example()
On Error GoTo ErrorHandler
'try to offset pline
On Error GoTo 0
Exit Sub
ErrorHandler:
'handle error
End Sub
0 Likes