Boundingbox cannot be seen with Rhinoscript

Hi.

I am trying to get the boundingbox out of an irregular object with Rhinoscript. It works fine (returns an array) but nothing appears on screen. Any idea?

Thanks in advance.

Hi Miguel,

The rhinoscript method indeed does not create an object, but merely returns an array.
You could script the boundingbox command as an easy way to actually create the boundingbox object or use the returned array to create the geometry yourself.

HTH
-Willem

Use Rhino.AddBox(YourBoundingBoxArray) to add a box object to the document…

–Mitch

Thank you so much, Willem and Mitch. Working.