*hwct_addrepsfromlibrary
Adds representations from a connected library.
Syntax
*hwct_addrepsfromlibrary entity_type mark_id rep_alias_list params
Type
HyperMesh Tcl Modify Command
Description
Adds representations from 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 load.
- params
- A quoted, comma separated string, containing additional optional name=value
parameters. Valid parameters are:
- load=<value>
- 0 - Do not load the rep alias for the subsystem
- overwrite=<value>
- 0 - Do not overwrite the session information
- repfolder=<value>
- The folder in which the representation exists.
Examples
Load a crash representation for subsystem 2 from C:/temp/subsystems:
*createmark subsystems 1 2
*hwct_addrepsfromlibrary subsystems 1 crash "overwrite=1, repfolder=c:/temp/subsystems"
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
2020