Message 1 of 3
Checking for Error Using Method Intent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
How do I check if a value has errored in an if statement. I have tried numerous methods to deal with the error but nothing has worked for me so far. The dimension is floating and invisible on the page. Attached is set to true. The only way I can see that the dimension is bad is through the method intent. I have attached images below.
Dim oOrdinateDim As OrdinateDimension
Set oOrdinateDim = oDrawingDim
If IsError(oOrdinateDim.Intent.Geometry.Parent.Name) = True Or oOrdinateDim.Attached = False Then
oDrawingDim.Delete
End If