sketchucation logo sketchucation
    • Login
    1. Home
    2. lfpaul
    3. Posts
    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
    L
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: Best Practice for Altering Project Components w/ Ruby API

      @tig said:

      Callbacks ?

      Makes sense. Could you provide some example code by chance?

      posted in SketchUp Discussions
      L
      lfpaul
    • Best Practice for Altering Project Components w/ Ruby API

      I am working on building a custom plugin for use inside SketchUp using the Ruby API. A WebDialog is used to display information that is pulled from the model (Such as scenes, materials, grids, etc). I am able to correctly display the desired information, however I want to be able to change/upadte this information from within the WebDialog and have it update in the SketchUp project.

      Ex) Inside the WebDialog all of the scenes in the project are listed. I want to be able to update the name of a scene, or delete a scene from within this dialog. So say I change the name of a scene from within the dialog, I want the dialog scene list and SketchUp project to update with the new name of the scene that was specified.

      What is the best practice for achieving this type of communication between a WebDialog and SketchUp using the Ruby API?

      I am fairly new to this SketchUp Ruby API and would appreciate any other tips or general advice about using it to manipulate project properties and components.

      Thanks in advance!

      posted in SketchUp Discussions sketchup
      L
      lfpaul
    • 1 / 1