algorithmic modeling for Rhino
Hi there,
I've been trying to add tabs to a text I want to display on screen but the tabs contantly get replaced by small squares. Is there a way to avoid this? Following the code in C#:
private void RunScript()
{
string str = ("text1\t\t\ttext2");
Rhino.Display.Text3d txt = new Rhino.Display.Text3d(str);
text3d = txt;
}
private Rhino.Display.Text3d text3d;
public override void DrawViewportWires(IGH_PreviewArgs args)
{
args.Display.Draw3dText(text3d, Color.Black);
}
Thank you!
r
Tags:
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2025 Created by Scott Davidson.
Powered by