Notes and Limitations
There are several issues, limitations and special behaviors of *setvalue that are important to know.
When updating a string value, if there are any continuous spaces, the Tcl interpreter truncates these extra spaces. To prevent the truncation, specify the value to be updated as a separate string, or enter a space after the =.
// Will be interpreted as This is name, without any
spaces.
*setvalue mats id=1 name={This is name}
// Will be interpreted as This is name, with correct
spaces.
*setvalue mats id=1 name= {This is name}
or
set name "This is name"
*setvalue mats id=1 name=$name
The HyperMesh
Tcl interpreter has a 4096 character limit on the size of a string that
can be passed in. Therefore, it is often necessary to use another syntax to work around this
limitation. Instead of using something like
this:
*createentity sets type=element name=test ids=[hm_getmark elems 1]
Examples of recommended usage
are:
eval *createentity sets type=element name=test ids=[ list $elems ]
eval *createentity sets type=element name=test ids={ [hm_getmark elems 1] }
eval *createentity sets type=element name=test ids={ $elems }
Data names for beamsections, geometry entities, and morphing entities are not supported.
Some optimization entity data names are not supported.
- ddvals
- rangeindex
- dequations
- number_of_lines
- designvars
- anchorpoint
- desvarlinks
- coeff
- dobjref
- objectid
- dvprels
- coeff
- opticontrols
- minmeth
- optiresponses
- coordinate_type_list
The row=<row_index> option is not currently supported for the following entity types and
data names.
- equations
- independentcoeffs
- laminates
- interfacepairplyids
- plies
- entitylist
- plots
- curves
- tables
- marked_columnlabel
Update on row=<row_index> does not work for 1D entity attributes, and update on both row=<row_index> and column=<column_index> are not supported for all types of 2D attributes.