Get min point/max point of a bounding box from a solid

Hello everyone, I have a script as shown in the image below. Please explain to me why we have to add the Transform.Origin to get a bounding box’s min point/max point from a solid. Because if I get directly from an element, I don’t need to add the Origin.

If I don’t add the Origin, I will get the result like this which is not the min point/max point that I want.

Hi @Luffy11, unfortunately that’s the way it is, and it’s clearly stated in the remarks of the API documentation

Oh yes, I haven’t read that part. Thank you for mention it. Now I understand.

1 Like