mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-27 18:57:17 +00:00
black ifcsverchok
This commit is contained in:
@@ -7,18 +7,19 @@ from sverchok.data_structure import updateNode
|
||||
|
||||
|
||||
class SvIfcGenerateGuid(bpy.types.Node, SverchCustomTreeNode, ifcsverchok.helper.SvIfcCore):
|
||||
bl_idname = 'SvIfcGenerateGuid'
|
||||
bl_label = 'IFC Generate Guid'
|
||||
bl_idname = "SvIfcGenerateGuid"
|
||||
bl_label = "IFC Generate Guid"
|
||||
|
||||
def sv_init(self, context):
|
||||
self.outputs.new('SvStringsSocket', 'guid')
|
||||
self.outputs.new("SvStringsSocket", "guid")
|
||||
|
||||
def process(self):
|
||||
self.outputs['guid'].sv_set([[ifcopenshell.guid.new()]])
|
||||
self.outputs["guid"].sv_set([[ifcopenshell.guid.new()]])
|
||||
|
||||
|
||||
def register():
|
||||
bpy.utils.register_class(SvIfcGenerateGuid)
|
||||
|
||||
|
||||
def unregister():
|
||||
bpy.utils.unregister_class(SvIfcGenerateGuid)
|
||||
|
||||
Reference in New Issue
Block a user