Tool Development - Polyline Creation
-
I'm trying to put together a tool within my plugin that allows the user to select a string of lines (point by point) and then draws a foundation wall along it. If the user closes the polygon created by these lines this is easy enough to detect since I just check if the original point is selected each time I detect another point. However what I would like it to be able to do is have the user right click the mouse to end or terminate the line entry and then have the plugin proceed with the geometry creation without requiring a closed polygon. I'm sure I can eventually figure this out but I am wondering if there is already some code out there that is floating around that will allow me not to reinvent the wheel on this one.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement