Abaqus CAE Display Preferences#

Object features#

CaeGuiPrefs#

class CaeGuiPrefs[source]#

The CaeGuiPrefs object contains the details of the graphical preferences in a guiPreferences section of the abaqus_2021.gpr file.

Notes

This object can be accessed by:

import caePrefsAccess
caePrefsAccess.openGuiPreferences(...)
Attributes:
fileName: str

A String specifying the path to the preferences file.

Methods

save([backupFile])

This method saves the guiPreferences section specified in the current fileName.

saveAs(fileName)

This method saves the guiPreferences settings to the specified location.

save(backupFile: BooleanType = 0)[source]#

This method saves the guiPreferences section specified in the current fileName.

Parameters:
backupFile: Boolean

A Boolean specifying whether Abaqus should save a numbered backup copy of the preferences file, fileName. Default is True.

saveAs(fileName: str)[source]#

This method saves the guiPreferences settings to the specified location.

Parameters:
fileName: str

A String specifying the path to the preferences file.

CaeKerPrefs#

class CaeKerPrefs[source]#

The CaeKerPrefs object contains the details of the sessionOptions.

Notes

This object can be accessed by:

import caePrefsAccess
caePrefsAccess.openSessionOptions(...)
Attributes:
fileName: str

A String specifying the path to the preferences file that the CaeKerPrefs object represents.

Methods

save([backupFile])

This method saves the sessionOptions in the current fileName.

saveAs(fileName, directory)

This method saves the sessionOptions to the specified location.

save(backupFile: BooleanType = 0)[source]#

This method saves the sessionOptions in the current fileName.

Parameters:
backupFile: Boolean

A Boolean specifying whether save a numbered backup copy of the preferences file, fileName. Default is True.

saveAs(fileName: str, directory: SymbolicConstantType)[source]#

This method saves the sessionOptions to the specified location.

Parameters:
fileName: str

A String specifying the path to the preferences file.

directory: SymbolicConstant

A SymbolicConstant specifying the location of the preferences file. Possible values are:

  • CURRENT to open the preferences file in the current directory

(caePrefsAccess.CURRENT) - HOME to open the preferences file in your home directory (caePrefsAccess.HOME)

The default value is HOME. Either fileName or directory must be supplied. The fileName or directory arguments are mutually exclusive.

caePrefsAccess#