*voxel_lattice_hex_mesh_create

Creates voxel elements from the inputs given to the voxel session.

Syntax

*voxel_lattice_hex_mesh_create

Type

HyperMesh Tcl Modify Command

Description

Creates voxel elements from the inputs given to the voxel session. This command can be called any number of times after modifying the input options.

This must be preceeded by a call to *voxel_lattice_hex_mesh_init and either a call to *voxel_lattice_hex_mesh_import or one of the *voxel_lattice_hex_mesh_add... commands.

Example

To create voxels of size 10 for include components 100-110 and exclude components 200-203:

*voxel_lattice_hex_mesh_init 10
*voxel_lattice_hex_mesh_fill_voids 0
*createmark comps 1 100-110
*voxel_lattice_hex_mesh_add_entities comps 1 1
*createmark comps 2 200-203
*voxel_lattice_hex_mesh_remove_entities comps 2 1
*voxel_lattice_hex_mesh_create
*voxel_lattice_hex_mesh end

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

2019.1