*markmovetoincludewithcontents
Organizes entities into an include file, optionally also moving child entities.
Syntax
*markmovetoincludewithcontents entity_type mark_id include_id child_entity_types
Type
HyperMesh Tcl Modify Command
Description
This command organizes entities into an include file.
Inputs
- entity_type
- The type of entity to organize. Valid values are comps, groups, loadcols, vectorcols, systcols, beamsectcols and multibodies.
- mark_id
- The ID of the mark containing the entities to organize. Valid values are 1 and 2.
- include_id
- The ID of the include file to organize the entities into.
- child_entity_types
- The type/types of the child entities to organize. Multiple types can be specified at a time.
Example
To move system collector systcol1 along with all of its systems into include file number 2:
*createmark systcols 1 systcol1
*markmovetoincludewithcontents systcols 1 2 "systems"
To move component comp1 along with all of its nodes and elements into include file number 2:
*createmark comps 1 comp2
*markmovetoincludewithcontents comps 1 2 "nodes elements"
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
13.0.110