*updateblocks

Update simple blocks entity on the specified mark.

Syntax

*updateblocks mark_id syst_id syst_flag min_x min_xflag min_y min_yflag min_z min_zflag max_x max_xflag max_y max_yflag max_z max_zflag

Type

HyperMesh Tcl Modify

Description

This command updates simple blocks on the specified mark. A simple block is different from a finite difference block which has additional items such as divisions, total walls, cells, etc…

Inputs

mark_id
ID of the mark containing the blocks to update. Valid values are 1 and 2.
syst_id
System ID assigned to the block. A value of 0 indicates to use the global system.
syst_flag
Indicates whether to update the syst_idof the blocks.
0 - Do not update the syst_id of the blocks.
1 - Update the syst_id of the blocks.
min_x
Minimum x-coordinate of the block. This value is specified relative to min_x.
min_xflag
Indicates whether to update the min_x of the blocks.
0 - Do not update themin_x of the blocks.
1 - Update the min_x of the blocks.
min_y
Minimum y-coordinate of the blocks. This value is specified relative tosyst_id.
min_yflag
Indicates whether to update the min_yof the blocks.
0 - Do not update the min_y of the blocks.
1 - Update the min_y of the blocks.
min_z
Minimum z-coordinate of the blocks. This value is specified relative to syst_id.
min_zflag
Indicates whether to update the min_z of the blocks.
0 - Do not update the min_z of the blocks.
1 - Update the min_z of the blocks.
max_x
Maximum x-coordinate of the blocks. This value is specified relative to syst_id.
max_xflag
Indicates whether to update themax_x of the blocks.
0 - Do not update the max_x of the blocks.
1 - Update the max_x of the blocks
max_y
Maximum y-coordinate of the blocks. This value is specified relative to syst_id.
max_yflag
Indicates whether to update the max_y of the blocks.
0 - Do not update the max_yof the blocks.
1 - Update the max_y of the blocks.
max_z
Maximum z-coordinate of the blocks. This value is specified relative to syst_id.
max_zflag
Indicates whether to update the max_z of the blocks.
0 - Do not update the max_z of the blocks.
1 - Update the max_z of the blocks.

Example

To update simple blocks ID 1 and 2 specified on a mark 1 and color gray (11) and corresponding flag 1, minimum coordinates of (2,2,2) and corresponding flag 0 0 1 and maximum coordinates of (10,5,5) and corresponding flag 1 1 1:

*createmark blocks 1 1 2
*updateblock 1 11 1 2 0 2 0 2 1 10 1 5 1 5 1

Errors

None.

Version History

10.0