how to create a selection window in a tool?

how to create a selection window in a tool?

Postby ittayd » Thu May 25, 2017 4:42 am

I want to create a tool that allows to select several entities by either picking them or a selection window. But how do I draw the selection window?
0

ittayd 
 

Re: how to create a selection window in a tool?

Postby sdmitch » Thu May 25, 2017 2:56 pm

ittayd wrote:I want to create a tool that allows to select several entities by either picking them or a selection window. But how do I draw the selection window?


The "Select by Polygon" plugin you can find on my blog is an example of drawing the selection window then selecting the entities within it.
1
Nothing is worthless, it can always be used as a bad example.

http://sdmitch.blogspot.com/
User avatar
sdmitch 
PluginStore Author
PluginStore Author
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 



 

Return to Developers' Forum

Who is online

Users browsing this forum: No registered users and 3 guests

Visit our sponsors: