*CE_MarkReplaceLinkEntities
Replaces the links from scratch in connectors.
Syntax
*CE_MarkReplaceLinkEntities mark_id link_type link_mark_id ce_style num_ents string_array number_of_strings
Type
HyperMesh Tcl Modify Command
Description
Replaces the links from scratch in connectors.
Inputs
- mark_id
- The ID of the mark of connectors. Valid values are 1 and 2.
- link_type
- The type of link to replace.
- link_mark_id
- The ID of the mark of link entities to remove. Valid values are 1 and 2.
- ce_style
- The style of connectors to create. Valid values are area, bolt, seam, and spot.
- num_ents
- The number of links to replace.
- string_array
- The string array ID that contains the additional input parameters. The string array is created using the *createstringarray command. This should always be set to 1.
- number_of_strings
- Integer indicating the size (number of strings) in the string array created using *createstringarray.
Examples
*createmark connectors 1 1 2
*createmark comps 1 1 2 3 4
*createstringarray 5 "link_elems_geom=elems" "link_rule=now" "relink_rule=id" "tol=99.0" " tol_flag=1"
*CE_MarkReplaceLinkEntities 1 comps 1 "spot" 4 1 5
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
2021