Adds a new box-shaped polysurface to the document.
rhinoscriptsyntax.AddBox (corners)
rhinoscript.surface.AddBox (corners)
corners |
Required. List. A list of eight 3-D points that define the corners of the box. Points need to be in counter-clockwise order starting with the bottom rectangle of the box. |
Guid |
The identifier of the new object if successful. |
None |
If not successful, or on error. |
import rhinoscriptsyntax as rs
box = rs.GetBox()
if box: rs.AddBox(box)