update
This commit is contained in:
parent
875ecc2c28
commit
e910547106
@ -19,12 +19,6 @@ lw.Open()
|
|||||||
# 定义要检查的模块列表,具体要检查的模块自行设定,不建议设置太多模块同时导出,会卡死你的!
|
# 定义要检查的模块列表,具体要检查的模块自行设定,不建议设置太多模块同时导出,会卡死你的!
|
||||||
modules = [NXOpen]
|
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):
|
def print_with_indent(indent_level):
|
||||||
indent = " " * indent_level
|
indent = " " * indent_level
|
||||||
|
Loading…
Reference in New Issue
Block a user