sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download

    Is it possible to retrieve the font settings using Ruby?

    Scheduled Pinned Locked Moved Developers' Forum
    3 Posts 2 Posters 293 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Offline
      asteronimo
      last edited by

      Is there an option, attribute or method to retrieve the font settings
      (font-family, font-size, color) of the active model or a Text object ?

      I need it to for an SVG export of my drawing.

      1 Reply Last reply Reply Quote 0
      • T Offline
        todd burch
        last edited by

        Look at the Rendering_Options class. It's a big nested hash. Lots of info there.

        1 Reply Last reply Reply Quote 0
        • A Offline
          asteronimo
          last edited by

          Todd,

          There is a lot about colors in the hash but, alas, nothing about font attributes.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Buy SketchPlus
          Buy SUbD
          Buy WrapR
          Buy eBook
          Buy Modelur
          Buy Vertex Tools
          Buy SketchCuisine
          Buy FormFonts

          Advertisement