mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-16 21:42:19 +00:00
replace api.run with static methods
This commit is contained in:
@@ -15,6 +15,7 @@ class LineworkContexts(NamedTuple):
|
||||
|
||||
class Drawer:
|
||||
def execute(self):
|
||||
ifc: ifcopenshell.file
|
||||
ifc = ifcopenshell.open(sys.argv[1])
|
||||
self.camera_element = ifc.by_guid(sys.argv[2])
|
||||
# Don't use draw.main() just whilst we're prototyping and experimenting
|
||||
|
||||
Reference in New Issue
Block a user