How download and apply material from html page?
-
Hi everyone,
I am starting again my study with ruby for sketchup, and I have a question.
I would like to select a material (.skm) from an html page, click to download to the sketchup materials editor and apply on a surface using the paint bucket.
I already created the page with webdialog, but I do not understand how to make the web page recognize my command with rb.
I researched the API but I did not understand how to do it.
Thank you all for the help.
-
I guess you have to download the file to local disk,then apply it in your model, of course, you can use ruby to do it automaticly
Advertisement