Quantcast
Channel: Rhino for Windows - McNeel Forum
Viewing all articles
Browse latest Browse all 19547

More scripting help... for translating into a spreadsheet (clipboard)

$
0
0

@wynott wrote:

OK So basically I am attempting to create a bounding box around a selection then find the centroid of that, then copy the coordinates of the centroid to the clipboard separated by tabs so they go into the correct spreadsheet cells.

I've got the bounding box figured out.

So Now I need to get the values from the bounding box array (0) and (1) and use Mean to find the middle of that? How do I get the two values I need out of the bounding box array into another array that Mean will swallow?

Or Maybe I could use SurfaceVolumeCentroid... But I have a similar issue. It wants a string so how would I GetObject and pick my bounding box from step 1?

Posts: 10

Participants: 4

Read full topic


Viewing all articles
Browse latest Browse all 19547

Trending Articles