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

    Topics

    • H

      Select From List Problems

      Watching Ignoring Scheduled Pinned Locked Moved Dynamic Components sketchup
      3
      0 Votes
      3 Posts
      355 Views
      DareDevilD
      In the "select from list" function, the "value" is something between value and index. This value must be unique but can be anything, number, text or function. I think about two ways to correct your problem : Dirty but easy way: Play with the INT function In your list, just use a decimal value to make each value unique and when you use the value just ad INT(value). The "Electrical - Other" value can be 20.1 and "Civil - Asphalt" can be 20.3 so they're unique, but is you ask the INT of them they return 20 as you want. Of course, that works if you only need integer values... Cleaner but indirect way: Use a CHOOSE and OPTIONINDEX In the list, use a unique value for each to avoid the error, but this value doesn't mind. To have a value, use the OPTIONINDEX function to return the position in the list and use the CHOOSE function to give the value you need. In this case, the function must be something like that : %(#000000)[= CHOOSE ( OPTIONINDEX ("list"), 15, 20, 25, 30, 15, 20....)] This is a little harder to modify, because if you want to ad an item in the list or re-order the list, you must change carefully the CHOOSE function.
    • H

      Current Year DC Attribute

      Watching Ignoring Scheduled Pinned Locked Moved Newbie Forum sketchup
      5
      0 Votes
      5 Posts
      194 Views
      H
      Worked like a charm. Thanks, TIG!
    • 1 / 1