mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 09:48:32 +00:00
update according to review comments
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user