Sketchup.find_support_files
-
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]
-
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
-
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]
Advertisement