Text output in grasshopper

Hi guys,

In my grasshopper component, I have many output texts, I need to insert or display those texts at multiple locations. How can I do that? If I save those texts in rhino doc, then will those texts be deleted or refreshed if I change my component input parameters?

Thank you.

Hi @smartunfold ,
You can use Rhino.Geometry.TextEntity.Explode() method to convert the TextEntity to a list of curves. Then either visualize those curves from that grasshopper components output, or create breps from those curves and output them instead.

I implement the function:
public override void DrawViewportWires(IGH_PreviewArgs args);

it works fine.

thank you.