Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5938

What script function to select a group of points by point cloud or mouse click & drag

$
0
0

@ocbc wrote:

Hi, I just started Python and am using this script that draws circles around points.

points = rs.GetPoints("Pick points")
radius = rs.GetInteger("What's the radius?")

for point in points:
rs.AddCircle(point, radius)

However, I'd like it to allow me to select the points either by point cloud or by grouping using the mouse click & drag function. Currently, the script requires me to select these points individually by mouse click. Any help would be much appreciated.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5938

Trending Articles