*voxel_lattice_hex_mesh_import
Imports an existing voxelization in to the current voxel session.
Syntax
*voxel_lattice_hex_mesh_import entity_type mark_id
Type
HyperMesh Tcl Modify Command
Description
Imports an existing voxelization in to the current voxel session. Import is successful only if all the elements in the selection are voxels of the size exactly equal to the current voxel size and the grid is aligned to the global axes and (0,0,0).
This must be preceded by a call to *voxel_lattice_hex_mesh_init.
Inputs
- entity_type
- The type of entity to import. Valid values are elems and comps.
- mark_id
- The ID of the mark of entities to import. Valid values are 1 and 2.
Example
To register voxels in comps 100 and 101 and drag elements 500-600 using the face with nodes 100-110 by (50,0,0):
*voxel_lattice_hex_mesh_init 10
*createmark comps 1 100 101
*voxel_lattice_hex_mesh_import comps 1
*createmark elems 1 500-600
*createmark nodes 1 100-110
*voxel_lattice_hex_mesh_drag_faces 1 1 50 0 0
*voxel_lattice_mesh_mesh_create
*voxel_lattice_hex_mesh_end
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
2019.1