@Jarek wrote:
Hi @dale,
Just ran into something weird - all the TextDot property methods (text, size, font and location) do not work if the object is not visible. Not sure if this is intentional or a bug; these are Properties and should be changeable even on hidden objects (like all other properties of objects). Rhino 5 SR12 64-bit. Makes my life difficult now.
'make any dot and try the below with- and without "hide" Dim idDot : idDot = Rhino.GetObject(, 8192) Call Rhino.HideObject(idDot) Call Rhino.TextDotText(idDot, "Test") Call Rhino.TextDotPoint(idDot, array(0, 0, 0)) Call Rhino.TextDotHeight(idDot, 50) Call Rhino.TextDotFont(idDot, "Tahoma") Call Rhino.ShowObject(idDot)
Thanks,
--jarek
Posts: 8
Participants: 4