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

Finding point coordinates / location

$
0
0

My code (“obj” is a valid Guid):

bb = rs.BoundingBox(obj)
result = rs.PointDivide(rs.PointAdd(bb[6], bb[0]), 2.0)

According to the documentation this returns a point.

rs.IsPoint(result) returns False though…
So I cannot get the coordinates using rs.PointCoordinates(result).

How do I get the coordinates of “result”?

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 4174

Latest Images

Trending Articles



Latest Images