mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-12 02:23:34 +00:00
Fix add entity with id
This commit is contained in:
@@ -610,7 +610,7 @@ class file_mixin:
|
||||
"""
|
||||
eid = kwargs.pop("id", -1)
|
||||
|
||||
e = self.create(type)
|
||||
e = self.create(type, eid)
|
||||
|
||||
# Create pairs of {attribute index, attribute value}.
|
||||
# Keyword arguments are mapped to their corresponding
|
||||
|
||||
Reference in New Issue
Block a user