*change_edgedensities
Changes the densities of selected surface edges and remeshes the adjacent surfaces, according to the specified mode.
Syntax
*change_edgedensities mark_id mode density refedge
Type
HyperMesh Tcl Modify
Description
This command changes the densities of selected surface edges and remeshes the adjacent surfaces, according to the specified mode. This is an automesh function.
Inputs
- mark_id
- The ID of the mark containing surface edges.
- mode
- The method used to assign the density to the surface edges:
- 1 – Set edge density to the density value.
- 2 – Increment/decrement the edge density by the density value. A positive density will increment while a negative density will decrement.
- 3 – Set edge density to be the same as on reference edge refedge.
- density
- The density value to assign to the surface edges on mark_id. Valid with mode 1 and 2.
- refedge
- ID of edge used when mode =3.
Examples
*createmark lines 1 208
*change_edgedensities 1 1 10 0
*createmark lines 1 208
*change_edgedensities 1 2 1 0
*createmark lines 1 208 209
*change_edgedensities 1 2 -2 0
*createmark lines 1 229 222 219
*change_edgedensities 1 3 0 211
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
9.0