*voxel_lattice_hex_mesh_remove_volume

Removes a volume surrounding a given point from the voxel domain.

Syntax

*voxel_lattice_hex_mesh_remove_volume x y z

Type

HyperMesh Tcl Modify Command

Description

Removes a volume surrounding a given point from the voxel domain. The volume is determined by the elements that are part of the domain when this command is run.

This must be preceeded by a call to *voxel_lattice_hex_mesh_init and must be followed by a call to *voxel_lattice_hex_mesh_create.

Inputs

x
The x-coordinate of the point inside the volume.
y
The y-coordinate of the point inside the volume.
z
The z-coordinate of the point inside the volume.

Example

To create voxels of size 10 for include components 100-110, removing the volume surrounding (50,50,50):

*voxel_lattice_hex_mesh_init 10
*createmark comps 1 100-110
*voxel_lattice_hex_mesh_add_entities comps 1 1
*voxel_lattice_hex_mesh_remove_volume 50 50 50
*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