*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.
rep_alias_list
The list of representation alias names to save.
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
1 - Overwrite the library information

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