RhinoPolyline.from_geometry

classmethod RhinoPolyline.from_geometry(geometry)

Construct a Rhino object wrapper from an existing Rhino object.

Parameters

geometry (Rhino_DocObjects_RhinoObject) – The Rhino object.

Returns

RhinoGeometry – The Rhino object wrapper.

Raises

ConversionError – If the geometry cannot be converted to the geometry type of the wrapper.