*hwct_openlibrary
Opens a library
Syntax
*hwct_openlibrary entity_type params
Type
HyperMesh Tcl Modify Command
Description
Opens a library. Once the library is connected all entities are updated with information present in the library.
Inputs
- entity_type
- The type of connected library. Currently only supported for subsystems.
- params
- A quoted, comma separated string, containing additional optional name=value
parameters. Valid parameters are:
- libraryname=<value>
- The name of the library to open.
- overwriteattributes=<value>
- 0 - Do not overwrite the attributes when merging
- password=<value>
- The library password.
- user=<value>
- The library user name.
- usersettingsfilepath=<value>
- The path of the user settings file for connecting to the library.
- workspacename=<value>
- The local in-work repository name.
Examples
Open SubsystemLibrary1:
*hwct_openlibrary subsystems "usersettingsfilepath=c:/Users/me/.Altair/AltairSubsystemLibrarySettings2020.xml, libraryname=SubsystemLibrary1, workspacename=SubsystemWorkspace1, user=me"
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