Re: Export Selected Only DWG Export
-
Hi all,
This must have been answered somewhere but I've been kind of searching for years as to whether this is possible...Anyone seen a plug in?
Thanks!
- Rich
-
Select what you want to export from your model.
Invert the selection [there are plugins for this] - or use this snippet in the Ruby Console + <enter>.m=Sketchup.active_model m.start_operation('DWG_ss', true) ss = m.selection es = m.active_entities es.erase_entities(es.to_a - ss.to_a) m.definitions.purge_unused m.layers.purge_unused m.materials.purge_unused m.commit_operationImmediately after that run the File > Export > DWG operation [with whatever Options you desire].
Then use the Edit > Undo menu item to step backwards to the point before you erased things.
The exported DWG will be OK, and the model should be back to where you started...
The DWG should not have unused things like blocks, layers etc...
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