hi Daniel,
I need the trace polyline tool activated from one of the actions in my plugin. Is this possible to call(I doubt this since this is on a MainWindow and I am not sure how to get a reference to Main Window from my plugin)? If not what should I look at for achieving this?
Trace polyline Tool
Re: Trace polyline Tool
Hum, I don't see how you can do that. Your only option is to mimic the way this tool works in your own plugin...
Normally you shouldn't need to 'integrate' a tool that already exists in your own plugin (or at least I don't see how you envision this).
Normally you shouldn't need to 'integrate' a tool that already exists in your own plugin (or at least I don't see how you envision this).
Daniel, CloudCompare admin
Re: Trace polyline Tool
i kind of mimicked the tool in the end. I had to let the user draw a polyline on screen and have some event like onSketchFinished(Polyline). Anyway thanks for the reply.