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:
hwReturnStatus- Status objectHmQueryResult- Result object containing the output values:configFilePath (str)
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)