*plyrealization_option
Extracts/projects elements belonging to ply contours.
Syntax
*plyrealization_option ply_mark_id entity_type mark_id project x1 y1 z1 x2 y2 z2 reserved1 search_option reserved2 shrinkage table_id double_array number_of_doubles reserved3 reserved4
Type
HyperMesh Tcl Modify Command
Description
Extracts/projects elements belonging to ply contours.
Inputs
- ply_mark_id
 - The ID of the mark containing the input plies. Valid values are 1 and 2.
 - entity_type
 - The type of entity to use to extract/project the plies. Valid values are comps and elems.
 - mark_id
 - The ID of the mark containing the entities to extract/project. Valid values are 1 and 2.
 - project
 - 
            
- 0 - Project normal to the contour plane
 - 1 - Project normal to the mesh
 - 2 - Project along an arbitrary direction using the x1, y1, z1 and x2, y2, z2 arguments.
 - 3 - Drape map by proximity method (FiberSIM/CATIA composite link)
 
 - x1
 - The x coordinate of the direction base. Only used if project is set to 2.
 - y1
 - The y coordinate of the direction base. Only used if project is set to 2.
 - z1
 - The z coordinate of the direction base. Only used if project is set to 2.
 - x2
 - The x coordinate of the direction normal. Only used if project is set to 2.
 - y2
 - The y coordinate of the direction normal. Only used if project is set to 2.
 - z2
 - The z coordinate of the direction normal. Only used if project is set to 2.
 - reserved1
 - Reserved for future use. Must be set to 0.
 - search_option
 - Use the specified search criterion as:
- 0 - Centroid
 - 1 - All nodes inside
 - 2 - Shrinkage factor of border element edges
 
 - reserved2
 - Reserved for future use. Must be set to 0.
 - shrinkage
 - The shrinkage area factor. Only used if search_option is set to 2.
 - table_id
 - The ID of the table that holds core sample data. The table consists of 2 columns, "ply" and "points" that contain ply names and sampling points, of data type string and triples, respectively.
 - double_array
 - The ID of the double array that contains the x, y and z coordinates of sample points. The double array is created using the *createdoublearray command. This should always be set to 1.
 - number_of_doubles
 - Integer indicating the size (number of doubles) in the double array created using *createdoublearray.
 - reserved3
 - Reserved for future use. Must be set to 0.
 - reserved4
 - Reserved for future use. Must be set to 0.
 
Examples
To project/extract plies for a ply named "Ply3" on elements 1-10, normal to the elements, with search criterion "all nodes inside":
*createmark plies 1 "Ply3"
*createmark elems 1 1-10
*plyrealization_option 1 elems 1 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0
      To project/extract plies for a ply named "Ply3" on all elements, normal to the elements, with shrinkage factor of 0.25:
*createmark plies 1 "Ply3"
*createmark elems 1 all
*plyrealization_option 1 elems 1 1 0 0 0 0 0 0 0 2 0 0.25 0 0 0 0 0
      - Create a table to store core sample data, using ply names Ply1 and Ply2 and sample
            points (1.1, 2.1, 3.1) and (4.1, 5.1,
            6.1):
*createstringarray 2 "string" "triple" *tablecreate "coresample_table" 1 1 1 2 0 *createstringarray 2 "Ply1" "Ply2" *tableinsertcolumn "coresample_table" "string" "ply" 1 2 1 *createstringarray 6 "1.1" "2.1" "3.1" "4.1" "5.1" "6.1" *tableinsertcolumn "coresample_table" "triple" "points" 1 6 2 -  Ply realization, assuming the table ID of coresample_table is
            2:
*createmark plies 1 "Ply2" *createmark elems 1 1-10 *plyrealization_option 1 elements 1 1 0 0 0 0 0 0 0 0 0 0 2 0 0 0 0 
Errors
if { [ catch {command_name...} ] } {
   # Handle error
}Version History
12.0.110