Hi,
I downloaded a model from the 3d warehouse, but I have no idea how to use it via the Ruby API. I would like to instantiate it and position it as necessary, but am at a complete loss.
Any help would be appreciated.
Thank you,
Matthew
Hi,
I downloaded a model from the 3d warehouse, but I have no idea how to use it via the Ruby API. I would like to instantiate it and position it as necessary, but am at a complete loss.
Any help would be appreciated.
Thank you,
Matthew
Sketchup::DefinitionList#load()
or
Sketchup::DefinitionList#load_from_url()
… and then:
Sketchup::Entities#add_instance()
See the examples in docs.