#place this ruby file in SketchUp\Plugins #the command "Reset 3D Warehouse Info" will be placed under "Tools" #When executed, the 3D Warehouse information (but not any previously uploaded # 3D Warehouse models) will be removed for this model. #The next time you "share" the model, it will create a new 3D Warehouse entry. def clear_3d_warehouse ad = Sketchup.active_model.attribute_dictionary("3DWarehouse") if !ad printf("No 3D Warehouse data saved\n") return end#if key = ad["ModelID"] if key printf("Clearing current 3D Warehouse entry: %s\n",key) else printf("Key already cleared\n") end#if Sketchup.active_model.attribute_dictionary("3DWarehouse").delete_key("ModelID") end#def UI.menu("Tools").add_item("Reset 3D Warehouse Info") { clear_3d_warehouse }