hm_modent_getincludes
Returns the list of includes that are managed by a subsystem.
Syntax
hm_modent_getincludes entity_type entity_id recursive sorted
Type
HyperMesh Tcl Query Command
Description
Returns the list of includes that are managed by a subsystem.
Inputs
- entity_type
- The modular entity type. Currently supported for subsystems.
- entity_id
- The ID of the modular entity.
- recursive
- 0 - Do not return children includes
- sorted
- 0 - Do not sort
Comment.
Examples
To get the list of include files managed by subsystem with ID 3. Children includes will be listed; the list is not sorted:
hm_modent_getincludes subsystems 3 1 0
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
2021