Model.hm_getmodelcheckdefaultconfigfile#

Model.hm_getmodelcheckdefaultconfigfile(profile='')#

Returns the default model check config file for a profile.

If a user specified config file is not present, then it gives the default config file provided in the installation.

Parameters:

profile (hwString) – The name of a specific profile to query. If not specified, then the default config file for the current profile is returned.

Returns:

Example#

Get the default config file for “ LsDyna “#
import hm
import hm.entities as ent

model = hm.Model()

_, result = model.hm_getmodelcheckdefaultconfigfile(profile="LsDyna")

print("configFilePath:", result.configFilePath)