With reference to the post generate text and use outlines in grasshopper… is it possible?, I am trying to output text visually and as an actual output in Rhino 5 using a Grasshopper scripted component. Basically, it should act like any Rhino.Geometry: it can be previewed and is removed from the display when the Preview is removed, and it can be baked using the component. It can also be used as input to another scripted component.
From what I understand based on the post above, it is currently not possible in Rhino 5 to make TextObjects that function similar to Rhino.Geometry (not Objects.Add), i.e. preview-able and bake-able, and not immediately added to the Rhino Document. Am I wrong in this understanding? If someone could help me out with which functions to use or by giving an example of a workaround, I can adapt it from there. I am coding in Python.
I’ve attached a file containing how far I’ve gotten so far, based on the gh file posted by Mostapha in the linked post. What am I doing wrong/what am I missing here?
textCurve_edit.gh (7.3 KB)