FormDiagram.from_rhinosurface

classmethod FormDiagram.from_rhinosurface(guid, **kwargs)

Construct a FormDiagram from a Rhino surface represented by its GUID.

Parameters

guid (str) – A globally unique identifier.

Returns

FormDiagram – A FormDiagram object.

Examples

import compas_rhino
from compas_tna.diagrams import FormDiagram

guid = compas_rhino.select_surface()
form = FormDiagram.from_rhinosurface(guid)