mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-23 20:26:22 +00:00
WIP refactor representation editing into geometry module. See #1222. Some new functionality as a result:
- Representations can now be added to any context, even invalid ones, non-subcontext, or missing target views - Switching representations now change all linked data objects
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import blenderbim.bim.ifc
|
||||
from blenderbim.bim.ifc import IfcStore
|
||||
|
||||
is_loaded = False
|
||||
|
||||
class Data:
|
||||
is_loaded = False
|
||||
@@ -8,7 +7,7 @@ class Data:
|
||||
|
||||
@classmethod
|
||||
def load(cls):
|
||||
file = blenderbim.bim.ifc.IfcStore.get_file()
|
||||
file = IfcStore.get_file()
|
||||
if not file:
|
||||
return
|
||||
cls.contexts = {}
|
||||
|
||||
Reference in New Issue
Block a user