diff --git a/nxopen_python.py b/nxopen_python.py index 9b781fd..b7913a8 100644 --- a/nxopen_python.py +++ b/nxopen_python.py @@ -19,12 +19,6 @@ lw.Open() # 定义要检查的模块列表,具体要检查的模块自行设定,不建议设置太多模块同时导出,会卡死你的! modules = [NXOpen] -def f_type(sub): - attrs=inspect.getmembers(sub) - for attr_name,attr in attrs: - if not attr_name.startswith('__') and not attr_name.startswith('builtin_function_or_method'): - return type(attr).__name__ - #输出代码缩进级别 def print_with_indent(indent_level): indent = " " * indent_level