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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginAdvertisement