MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / execute

Method execute

src/bonsai/bonsai/bim/module/bcf/operator.py:378–385  ·  view source on GitHub ↗
(self, context)

Source from the content-addressed store, hash-verified

376 return props.author
377
378 def execute(self, context):
379 bcfxml = bcfstore.BcfStore.get_bcfxml()
380 assert bcfxml
381
382 props = tool.Bcf.get_bcf_props()
383 bcfxml.add_topic("New Topic", "", props.author)
384 bpy.ops.bim.load_bcf_topics()
385 return {"FINISHED"}
386
387
388class AddBcfBimSnippet(bpy.types.Operator):

Callers

nothing calls this directly

Calls 3

get_bcfxmlMethod · 0.80
get_bcf_propsMethod · 0.80
add_topicMethod · 0.45

Tested by

no test coverage detected