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

    View.pick_helper, ph.all_picked and X-ray mode

    Scheduled Pinned Locked Moved Developers' Forum
    1 Posts 1 Posters 237 Views 1 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.
    • S Offline
      siaNYC
      last edited by

      Hi all,

      Let us assume that the camera's eye is inside of a cube and all faces of the cube are
      transparent (alpha = 0.5) , so we can see the outside and we have cpoints, edges, and faces
      outside of the cube.
      I am wondering if there is a way to get the list of entities outside of the cube using
      view.pick_helper and ph.all_picked without turning the X-ray mode on.
      When the X-ray mode is off, i only get back the face of the cube. When the X-ray
      mode is on i get back a list of objects that are under the mouse. I would like to do this
      in ruby without turning the X-ray mode on/off.

      Thanks,
      Sia

      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