Delete nested section cuts
-
Is there an easy way to delete all section cuts in a model at once even if they are nested in groups and components (e.g. for section cut animations)?
-
Sounds like a plugin request.

-
Only if there is no native way to do this

(If there is a native way, it would be my Doh! of the day...) -
Copy/Paste this "one-liner" into the Ruby Console + <enter>.
m=Sketchup.active_model;m.start_operation("Del");m.entities.to_a.each{|e|e.erase! if e.class==Sketchup;;SectionPlane};m.definitions.each{|d|next if d.image?;d.entities.to_a.each{|e|e.erase! if e.class==Sketchup;;SectionPlane}};m.commit_operationIt deletes EVERY Section-Plane in the whole model, even those nested inside groups or components, so use with EXTREME CARE ! However, it is 'one step undoable' !

-
Thank you TIG for this one-liner which shows me that I have to learn ruby...
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