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