sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Sketchup.find_support_files

    Scheduled Pinned Locked Moved Developers' Forum
    3 Posts 2 Posters 1.0k 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.
    • N Offline
      not registered yet
      last edited by

      The syntax in the documentation says

      array = Sketchup.find_support_files “filename”, “directory”

      Does anyone have an example on how to use find_support_files. I thought I might be able to use

      help_files = Sketchup.find_support_files "*.html", "Ruby/Docs/"

      I seem to be getting an empty array with all my combinations.
      My alternative is to use Dir::entries(path) but I just wondered how the above worked.

      Thanks

      [BillW]

      1 Reply Last reply Reply Quote 0
      • T Offline
        todd burch
        last edited by

        Yes, there are several posted... in the old Ruby forum... that is now in Google Groups... whose search facilty works... sort of. It will find the posts, but not let you drill into any of them.

        The alternative is to browse through that Ruby forum page by page, one at a time, in sequential order, with no jumping around, in hopes of finding the post sometime before your teeth fall out.

        There are two methods. .find_support_file and .find_support_files. Try the other one.

        Todd

        1 Reply Last reply Reply Quote 0
        • N Offline
          not registered yet
          last edited by

          Thanks Todd

          I know how to use find_support_file - its the plural version find_support_files I dont quite understand. It's not really important to know - just a query.

          Indeed, the search on the old ruby group is broken - not mush use.

          Regards
          Bill Wood

          [BillW]

          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