I want to use the API to save the all models in the view, but I haven’t found the corresponding API. I can only select all the models to save from the view, but it is slow. Can I save all models by directly clicking the Sketchup button, and then obtain the saved path through the API. Or is there any other faster way to save all models in the view.
You can obtain the model path by Ruby code:
model = Sketchup.active_model
path = model.path
Is this what you need?
I moved to the right category “developers Ruby API”
1 Like
Thank you very much for your attention, but I didn’t understand what you meant, but RTCHES helped me answer the question
1 Like
Oh, yes, you’re right. I didn’t see this API. Thank you very much for your answer
Great. Mark it as solved then