I have a question, about Model.import of sketchup API
-
I want to import a component or model by ruby,but I can't do that .so please give me a help,how I can do that?Thanks!
-
Do you get any errors?
What format are you trying to import? .skp? -
f = UI.openpanel("select a file", nil, ".skp") Sketchup.active_model.import fpretty simple to understand in the doc
http://code.google.com/intl/fr/apis/sketchup/docs/ourdoc/model.html#import -
It's wonderful ,I will do that at once.Thanks for the help.
-
@thomthom said:
Do you get any errors?
What format are you trying to import? .skp?I can not get information from the screen.The format is .skp.Can it be imported?
-
What information?
-
@thomthom said:
What information?
I'm sorry,I do some tests on the import method previously.I want to have a replacement on components
in model by the ruby script at the same time.Can it be to achieve?thanks! -
@thomthom said:
Do you get any errors?
What format are you trying to import? .skp?I import a dae file to sketchup by api. but i need to click to position. is there a way to position it automatically?
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