mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 06:39:13 +00:00
Add ty to check for missing symbols and other simple errors
This commit is contained in:
@@ -193,7 +193,7 @@ class SvIfcBMeshToIfcRepr(bpy.types.Node, SverchCustomTreeNode, ifcsverchok.help
|
||||
blender_object=obj,
|
||||
geometry=obj.data,
|
||||
context=context,
|
||||
should_run_listeners=False,
|
||||
should_run_listeners=False, # ty:ignore[unknown-argument]
|
||||
)
|
||||
if not representation:
|
||||
raise Exception("Couldn't create representation. Possibly wrong context.")
|
||||
|
||||
@@ -143,7 +143,7 @@ class SvIfcSverchokToIfcRepr(bpy.types.Node, SverchCustomTreeNode, ifcsverchok.h
|
||||
for item in obj:
|
||||
representation = ifcopenshell.api.geometry.add_mesh_representation(
|
||||
self.file,
|
||||
should_run_listeners=False,
|
||||
should_run_listeners=False, # ty:ignore[unknown-argument]
|
||||
context=self.context,
|
||||
vertices=[list(map(tuple, item[0]))],
|
||||
edges=[list(map(tuple, item[1]))],
|
||||
|
||||
Reference in New Issue
Block a user