abqpy.run

Exceptions

AbaqusError

Common base class for all non-exit exceptions.

函数

run(→ None)

在系统命令行窗口运行 Abaqus 命令。

模块内容

exception AbaqusError[源代码]

Bases: Exception

Common base class for all non-exit exceptions.

Public Data Attributes:

Inherited from BaseException

args

Public Methods:

Inherited from Exception

__init__(*args, **kwargs)

Inherited from BaseException

__repr__()

Return repr(self).

__str__()

Return str(self).

__getattribute__(name, /)

Return getattr(self, name).

__setattr__(name, value, /)

Implement setattr(self, name, value).

__delattr__(name, /)

Implement delattr(self, name).

__init__(*args, **kwargs)

__reduce__

Helper for pickle.

__setstate__

with_traceback

Exception.with_traceback(tb) -- set self.__traceback__ to tb and return self.

add_note

Exception.add_note(note) -- add a note to the exception


run(cae: bool = True) None[源代码]

在系统命令行窗口运行 Abaqus 命令。

此函数使用 Abaqus 命令运行主脚本文件并使用传递给它的参数。

参数:
cae: bool = True

是否使用 abaqus cae 命令,True 时运行 abaqus cae 命令,否则运行 abaqus python 命令,默认为 True。