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]
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginAdvertisement