*plycreate

Creates a ply entity.

Syntax

*plycreate name color entity_type mark_id material_name thickness orientation integration_points result_request thickness2 thickness3 thickness4 table_id system_id

Type

HyperMesh Tcl Modify

Description

Creates a ply entity.

Inputs

name
The name of the ply.
color
The color of the ply. Valid values are 1 through 64.
entity_type
The type of entity to use to define the ply. Currently only sets are supported.
mark_id
The ID of the mark containing the entities that define the ply. Valid values are 1 and 2.
material_name
The name of the material to assign to the ply. The material must already exist.
thickness
The thickness of the ply.
orientation
The ply orientation angle, in degrees, relative to the element material coordinate system (-360 > orientation ≤ 360).
integration_points
The number of integration points through the ply thickness. The default value is 3 and input is not required.
result_request
Flag indicating whether to request output results for the ply. The default value is 0 and input is not required.
  • 0- No
  • 1 - Yes
thickness2
Ply thickness 2, valid only for ANSYS. The default value is 0 and input is not required.
thickness3
Ply thickness 3, valid only for ANSYS. The default value is 0 and input is not required.
thickness4
Ply thickness 4, valid only for ANSYS. The default value is 0 and input is not required.
table_id
The ID of the table containing the drape information, valid only for OptiStruct.
system_id
The ID of the local coordinate system for the ply.
0 - Indicates the global system.

Example

To create two plies from a set containing all elements, with orientation +45/-45, with a material named "material":

*createmark elems 1 all
*entitysetcreate ply1 elems 1
*clearmark elems 1
*createmark sets 1 all
*plycreate ply1 3 sets 1 material 0.01 -45.0 3 1 0 0 0 0 0
*plycreate ply2 3 sets 1 material 0.01 45.0 3 1 0 0 0 0 0
*clearmark sets 1

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

11.0