Hey how do i suppress this warning from the user "Your recent operation has caused visible geometry to merge with existing geometry on a hidden layer" im running the bomb.rb script inside a program and it gives that warning message for each file/run it explodes
Latest posts made by xiobus
-
Suppress warning Your recent operation...
-
RE: [Plugin]export_by_layer.rb
Hey tig that code doesn't 100% work for me when i use instead of export the save skp method sometimes extra stuff is deleted, seems to be an issue with groups not being handled in the code? And also when no groups are used rogue bits from other layers are included. I'll take a look at the code again and see if its handling groups or not.
-
Lock a layer
Any one know how to lock a whole layer? I only see in the API ability to lock groups and components and I also don't see a way to easily move entities into a group/component. Perhaps there is an efficient way to "copy, paste and delete" a list of entities or even copy from one group to another preferably based on selection or layer?
-
Best way to export each layer as a file
Anyone have suggestions on the best method or any methods on saving each layer as its own file?
-
Best way to delete entities
Anyone know the best way to delete all the entities except for one layer? I also noticed when you do a foreach entity delete it does not remove them all here is the code
model = Sketchup.active_model entities = model.active_entities entities.each { | entity| entities.erase_entities entity }