*updateoffset
Updates the definition of the offset.
Syntax
*updateoffset type include_id shortname entity_type pool_id offset
Type
HyperMesh Tcl Modify Command
Description
Updates the definition of the offset.
Inputs
- type
- Must be set to includefiles.
- include_id
- The include file ID, if shortname is not used.
- shortname
- The shortname of the include file, if include_id is not used.
- entity_type
- The type of entity to update. Set to 0 to update all entities under the include file.
- pool_id
- The pool ID for the entities to update. Set to 0 for all of pools.
- offset
- The offset value to assign.
Examples
To assign offset 1000 to all entities in include file 1:
*updateoffset includefiles 1 "" 0 0 1000
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