*library_open

Opens a library.

Syntax

*library_open entity_type library_type library_name ?usersettingsfilepath=<value>? ?workspacename=<value>? ?user=<value>?

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 entity type stored in the library. Currently supported for parts and subsystems.
library_type
The type of library. Currently supported types are Local, Team, LM, and Objectstore.
library_name
The name of the library.
usersettingsfilepath
The path of the user settings file for connecting to the library.
workspacename
The path of the user settings file for connecting to the library.
user
The library username.

Examples

To connect to a team Part library called PartLibrary_1:
*library_open parts Team PartLibrary_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

2026