*loaddefaultattributevaluesfromxml

Loads the entity's default setting values in the specified XML file.

Syntax

*loaddefaultattributevaluesfromxml ?<xmlfilename>?

Type

HyperMesh Tcl Modify Command

Description

Loads the entity's default setting values, mandatory values, show/hide values, and so on, that are defined in the specified XML file. If the file name is not specified, it unloads the previously loaded default settings.

Inputs

<xmlfilename>
The XML file path containing the entity default settings.

Examples

To load the default values specified in the EntityDefaults.xml file:
*loaddefaultattributevaluesfromxml D:/settingsfile/EntityDefaults.xml
To unload the previously loaded default values:
*loaddefaultattributevaluesfromxml

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}

Version History

2021.2