hwct_getinfofromlibrary
Query information from a currently connected library.
Syntax
hwct_getinfofromlibrary entity_type mark_id attribute_list ?childgroupname=<value>? ?childkey=<value>? ?filter=<value>?
Type
HyperMesh Tcl Query Command
Description
Query information from a currently 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.
 - attribute_list
 - The list of attributes, separated by semi-colons (e.g. {attribute1; attribute2; ...; attributeN}).
 - childgroupname=<value>
 - The group name of the children on which the attribute information is needed.
 - childkey=<value>
 - The returned information is gropued by this key attribute on the child.
 - filter=<value>
 - all - Process all children of the given childgroupname for the input entities
 
Examples
Query the library for subsystem 2 and list it as per the childkey (hwrepalis). The child here is crash for subsystem 2:
{ 2 { crash { smd_cid : 6932c5faac1cc748a333bf0c49fb2f61 } } }
*createmark subsystems 1 2
set library_info [hwct_getinfofromlibrary subsystems 1 id childgroupname=representations childkey=hwrepalias filter=retrieved]
    Errors
if { [ catch {command_name...} ] } {
   # Handle error
}Version History
2020