09-11-2019 12:32 PM
I've been searching through this community, but couldn't find anything similar..
Is there a way to customize the "Save Geometry" button?
I mean to do some other checking before it actually save..
The idea is to do some spartial checking before saving..
If the new feature inserted is within a boundary (existing area), then it allows to save..
Else, it will prompt some message saying that it is not allowed to digitized object outside of boundary..
I think it is possible to do through customize plugins..
But couldnt think of how to do it yet..
If someone can help to point out how, it will be a great help..
09-15-2019 11:42 PM
You can implement your own GeometryValidationHandler and use it to check geometries. An example can be found in the .Net API documentation (How to: Writing a custom geometry validation handler).