Hi everybody,
do you know if there is any chance to integrate soap4r into SketchUp and have it (i.e. Ruby scripts based on soap4r) run by its Ruby interpreter?
Hi everybody,
do you know if there is any chance to integrate soap4r into SketchUp and have it (i.e. Ruby scripts based on soap4r) run by its Ruby interpreter?
I create several components which consist of other components, and these consist of other components and so on...
and now I want to get the structure/hierarchy of these components. I am able to read out all components, but not the structure. Does someone have an idea how to do that??
do you see a chance to rebuild the "create component" with ruby?
i.e. writing your own "create component" method (creating a ComponentDefinition)
if my hierarchy of components has 3 levels, is it possible to get the hierarchy of all the components (so that one can see of which components one component consists)?
well, actually I do not want to load it, but to store/save it in a file (skp file).
There is a method for Model objects to be stored. Can I somehow typecast the component object in a model object so that I can use the save method (of class Model)??
Or is there any other possibility to save the component in the local file system?
I store a component as an skp file on my computer. Is there a chance to get that skp file (if I have the component definition of the component)?? (So, I do not want to search for the file by typing in the path, but by using the relevant component in the model)
Could someone help me, please?
is there also a possibility to store components automatically in a folder (as an .skp file)?
path=Sketchup.find_support_file "rectangle#1.skp"
does not work, even if I add the full path of the skp file as second parameter
Does someone have an idea why this does not work??
If I put the skp file in the plugin folder it does not work either.