type#
- connect.type(p0: str) int #
Specifies whether the EnSight server should be started by the client or by the user.
- Args:
- p0:
‘method’
auto
manual
- Examples:
# use a manual connection # WARNING: following line includes OBSOLETE call (ensight.connect.backend). ensight.connect.backend() ensight.connect.type("manual") ensight.connect.connect()
# use an auto connection # WARNING: following line includes OBSOLETE call (ensight.connect.backend). ensight.connect.backend() ensight.connect.machine("slim") ensight.connect.executable(".server") ensight.connect.directory("/tmp") ensight.connect.type("auto") ensight.connect.connect()
- Returns:
zero on success, non-zero on error