Font of text
-
when using add_note or adding a text it is possible to set the font and size by clicking entity info and then change font.
Is it possible to access this property with ruby? I can't find it in the api.
Thx
-
the method .methods applied to a Text object returns the applicable methods
in these methods, there is a set_last_size, which is not documented, and it requires 3 arguments.
Does anyone know what it is? -
i have no idea, when trying the method this is the result:
Error: #<NoMethodError: (eval):41: undefined method `set_last_size=' for #Sketchup::Text:0x50699b0>
(eval):41 -
Hi pout, there is no = sign on the method. (I do not know how to use it though).
You might also see if the text object has an attribute library attached to it? I don't know if it does, its just a thought. Maybe font could be controlled there? But I would guess the method set_last_size might be better?
Chris
Advertisement