mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-12 02:23:34 +00:00
You can now import materials from a project library
This commit is contained in:
@@ -17,6 +17,9 @@ class Usecase:
|
||||
if self.settings["relating_context"].Declares:
|
||||
declares = self.settings["relating_context"].Declares[0]
|
||||
|
||||
if not hasattr(self.settings["definition"], "HasContext"):
|
||||
return
|
||||
|
||||
has_context = None
|
||||
if self.settings["definition"].HasContext:
|
||||
has_context = self.settings["definition"].HasContext[0]
|
||||
|
||||
Reference in New Issue
Block a user