*createdynamicdataname
Creates a dynamic dataname on an entity.
Syntax
*createdynamicdataname entity_type mark_id dataname=<value> displayname=<displayname > basictype=<value> ?defaultvalue=<value>? ?visible=<value>? ?editable=<value>?
Type
HyperMesh Tcl Modify Command
Description
Creates a dynamic data name on an entity. The entity must support dynamic data names.
Inputs
- entity_type
- The type of the entity to create the data name on.
- mark_id
- The ID of the mark containing the entities. Valid values are 1 and 2.Valid values are 1 and 2.
- dataname=<value>
- The name of the dataname.
- basictype=<value>
- The basic type of the dataname. Valid values are unsigned int, float, double, and string.
- displayname=<value>>
- The display name of the dataname.
- defaultvalue=<value>
- The default value of the dataname.
- visible=<value>
- Defines the visibility of the dynamic data name.
- editable=<value>
- Defines whether the dynamic data name is editable.
Examples
*createmark structuralproperties 1 "structuralproperty2" "structuralproperty3"
*createdynamicdataname structuralproperties 1 dataname=Buckling_constant
displayname=Buckling_constant basictype=11 defaultvalue=0.272
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
2022