IfcSverchok API node now actually executes API calls and has descriptive tooltips

This commit is contained in:
Dion Moult
2021-07-25 18:42:28 +10:00
parent c00bcc78e9
commit 6337d04efc
2 changed files with 48 additions and 25 deletions
@@ -118,7 +118,7 @@ def extract_docs(module, usecase):
if name == "self":
continue
inputs[name] = {"name": name}
if not isinstance(parameter.default, object):
if isinstance(parameter.default, (str, float, int, bool)):
inputs[name]["default"] = parameter.default
type_hints = typing.get_type_hints(function_init)