hm_modent_getcontentsbymark
Returns a mark of entities which are contents of a modular entity.
Syntax
hm_modent_getcontentsbymark entity_type entity_id content_entity_type mark_id
Type
HyperMesh Tcl Query Command
Description
longDescription
Inputs
- entity_type
- The modular entity type. Currently supported for subsystemconfigurations, subsystems and subsystemsets.
- entity_id
- The ID of the modular entity.
- content_entity_type
- The content entity type.
- mark_id
- The ID of the mark to return the content entities. Valid values are 1 and 2.
Examples
To get the components for subsystem 2 on mark 1:
hm_modent_getcontentsbymark subsystems 2 comps 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