Skip to content

Commit

Permalink
set fixed default type to IfcObjects
Browse files Browse the repository at this point in the history
  • Loading branch information
yorikvanhavre committed Mar 14, 2024
1 parent 6285969 commit 0b9d819
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ifc_objects.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ def __init__(self, otype=None):
self.Type = (
otype[0].upper() + otype[1:]
) # capitalize to match Draft standard
else:
self.Type = "IfcObject"

def onBeforeChange(self, obj, prop):
if prop == "Schema":
Expand Down

0 comments on commit 0b9d819

Please sign in to comment.