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!
    🫛 Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download

    X-ray

    Scheduled Pinned Locked Moved Developers' Forum
    4 Posts 2 Posters 254 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.
    • honoluludesktopH Offline
      honoluludesktop
      last edited by

      How is x-ray turned on with API?

      1 Reply Last reply Reply Quote 0
      • J Offline
        Jim
        last edited by

        Sketchup.active_model.rendering_options["ModelTransparency"] = true

        Or false.

        Hi

        1 Reply Last reply Reply Quote 0
        • honoluludesktopH Offline
          honoluludesktop
          last edited by

          Thanks, Jim. Didn't think to look there:-)

          1 Reply Last reply Reply Quote 0
          • J Offline
            Jim
            last edited by

            Many of the settings associated with Styles are stored in the RenderingOptions. Many of the keys are obvious, some not so much.

            http://code.google.com/apis/sketchup/docs/ourdoc/renderingoptions.html

            http://code.google.com/p/skx/wiki/RenderingOptions

            Hi

            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