mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-19 19:54:07 +00:00
New feature in BCF to allow extracting specific files like header files, snippets, or bitmaps.
This commit is contained in:
+1
-1
@@ -27,7 +27,7 @@ with load("/path/to/file.bcf") as bcfxml:
|
||||
# Get a dictionary of topics
|
||||
topics = bcfxml.topics
|
||||
|
||||
for topic_handler in bcfxml.topics:
|
||||
for topic_guid, topic_handler in bcfxml.topics.items():
|
||||
topic = topic_handler.topic
|
||||
print("Topic guid is", topic.guid)
|
||||
print("Topic title is", topic.title)
|
||||
|
||||
Reference in New Issue
Block a user