sketchucation logo sketchucation
    • Login
    1. Home
    2. milleb
    3. Posts
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info
    M
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 2
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: Ruby code for selecting Component Instances by name

      Many thanks TIG, your first code line does perfectly the job.
      In fact I have many instances of the same component, and each one is differentiated by a unique name.
      And just by removing s.clear I can make multiple selections, which is exactly what I intended to do.

      You made my day !!

      posted in Developers' Forum
      M
      milleb
    • Ruby code for selecting Component Instances by name

      Dear all,

      I'm a complete beginner with Ruby language, could anybody help me to write the necessary code to select a component instance in a given model by its name ?

      Many thanks in advance

      milleb

      posted in Developers' Forum
      M
      milleb
    • 1 / 1