*applyscenario
Applies control and realizes the entity for a given scenario.
Syntax
*applyscenario scenario_name=<value> entity_type=<value> overwrite_attrib=<value> realize=<value>
Type
HyperMesh Tcl Modify Command
Description
Applies control and optionally realizes it. This works on any given supported entity type or on all the supported entities. Once the entity is filtered and the control is applied, same entity is ignored from next definitions.
Inputs
- scenario_name=<value>
- The name of the scenario to apply.
- entity_type=<value>
- The entity type the scenario will be applied to. Valid values are connectors, attachments, and all.
- overwrite_attrib=<value>
- The flag defining the behavior related to any delta values on the engineering entity.
- realize=<value>
- The option to realize the entities after applying the control.
Examples
*applyscenario scenario_name=Crash entity_type=connectors overwrite_attrib=1 realize=1
*applyscenario scenario_name=NVH entity_type=all overwrite_attrib=3 realize=1
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
2022.2