*hwct_savetolibrary
Saves representations to a connected library.
Syntax
*hwct_savetolibrary entity_type mark_id rep_alias_list params
Type
HyperMesh Tcl Modify Command
Description
Saves representations to a connected library.
Inputs
- entity_type
- The type of connected library. Currently only supported for subsystems.
- mark_id
- The ID of the mark of entities. Valid values are 1 and 2.
- params
- A quoted, comma separated string, containing additional optional name=value
parameters. Valid parameters are:
- comment=<value>
- The comment to add for the action.
- overwrite=<value>
- 0 - Do not overwrite the library information
- rep_alias_list
- The list of representation alias names to save.
- repcomment=<value>
- The comment to add to the representation object in the library view.
Examples
Save crash and nvh representations for subsystem 2 with overwrite option:
*createmark subsystems 1 2
*hwct_savetolibrary subsystems 1 "crash;nvh" "overwrite=1"
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
2020
2021.1 – Added repcomment=<value>.