update according to review comments

This commit is contained in:
Vukas Pajic
2022-07-19 09:21:13 +02:00
parent 2c29f89fe9
commit a0fdb9f777
3 changed files with 7 additions and 1 deletions
@@ -32,7 +32,7 @@ classes = (
operator.SelectGlobalId,
operator.SelectIfcClass,
operator.SelectPset,
operator.Reset3dView,
operator.UnhideAllElements,
operator.FilterModelElements,
prop.BIMFilterClasses,
prop.BIMFilterBuildingStoreys,
@@ -467,9 +467,14 @@ class ActivateIfcBuildingStoreyFilter(bpy.types.Operator):
class Reset3dView(bpy.types.Operator):
class UnhideAllElements(bpy.types.Operator):
"""Filter model elements based on selection"""
bl_idname = "bim.reset_3d_view"
bl_label = "Reset 3D View"
bl_idname = "bim.unhide_all_elements"
bl_label = "Unhide All Elements"
def execute(self, context):
for obj in bpy.data.scenes["Scene"].objects:
@@ -16,6 +16,7 @@
# You should have received a copy of the GNU General Public License
# along with BlenderBIM Add-on. If not, see <http://www.gnu.org/licenses/>.
import bpy
from ifcopenshell import util
from ifcopenshell.util.selector import Selector
import blenderbim.tool as tool