Returns that area of closed planar curves. The results are based on the current drawing units.
rhinocsriptsyntax.CurveArea( object_id )
rhinocsript.curve.CurveArea( object_id )
object_id |
Required. String or Guid. The identifier of a closed, planar curve object. |
List |
Area information if successful. The list will contain the following information:
|
|||||||||
None |
If not successful, or on error. |
import rhinocsriptsyntax as rs
id = rs.GetObject("Select a curve", rs.filter.curve)
if id:
props = rs.CurveArea(id)
if props:
print "The curve area is:", props[0]