Model.CE_FE_LoadFeConfig#

Model.CE_FE_LoadFeConfig(filename, load_option, overwrite)#

Loads or unloads an FE config file.

Parameters:
  • filename (hwString) – The full path and filename of the FE config file.

  • load_option (int) –

    0 - To unload.

    1 - To load.

  • overwrite (int) –

    Valid only when load_option=1.

    0 - Skip FE types with names or IDs conflicting with existing ones.

    1 - Overwrite existing FE types with names or IDs conflicting with current ones.

Example#

Load the FE config file “C:/test/my_feconfig.cfg” and overwrite existing FE types with those in the file#
import hm
import hm.entities as ent

model = hm.Model()

model.CE_FE_LoadFeConfig(filename="C:/test/my_feconfig.cfg", load_option=1, overwrite=1)