mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-10 06:00:51 +00:00
Elided argument in ifcopenshell.file constructor
This commit is contained in:
@@ -25,7 +25,7 @@ from .entity_instance import entity_instance
|
|||||||
|
|
||||||
class file(object):
|
class file(object):
|
||||||
def __init__(self, f=None):
|
def __init__(self, f=None):
|
||||||
self.wrapped_data = f or ifcopenshell_wrapper.file(True)
|
self.wrapped_data = f or ifcopenshell_wrapper.file()
|
||||||
def create_entity(self,type,*args,**kwargs):
|
def create_entity(self,type,*args,**kwargs):
|
||||||
e = entity_instance(type)
|
e = entity_instance(type)
|
||||||
attrs = list(enumerate(args)) + \
|
attrs = list(enumerate(args)) + \
|
||||||
|
|||||||
Reference in New Issue
Block a user