*topologydrawupdatewithnoholeandstamp
Updates the draw options for a topology design variable.
Syntax
*topologydrawupdatewithnoholeandstamp name draw_type anchor_node first_grid coords num_coords mark_id maximum_thickness stamp_thickness
Type
HyperMesh Tcl Modify
Description
Updates the draw options for a topology design variable.
Inputs
- name
- The name of the topology design variable to update.
- draw_type
- Type of draw direction constraint. The possible values include:
- anchor_node
- Draw anchor node ID. This should be 0 if no anchor node exists or if coordinates are used for defining the anchor node.
- first_grid
- Grid ID that determines the direction of the first vector. This should be 0 if the first vector does not exist or if coordinates are used for defining the first grid.
- coords
- An array containing the anchor and first node coordinates such that cord[0], cord[1], and cord[2] are the x,y,z coordinates of the anchor node respectively. The array is created with the *createdoublearray command.
- num_coords
- The number of coordinate values. Currently, this is always equal to six.
- mark_id
- The ID mark that contains the obstacle properties. Only PSOLID properties may be chosen as obstacles.
- maximum_thickness
- The maximum thickness for no hole option. A value of 0 indicates that minimum thickness control is not active.
- stamp_thickness
- The stamp thickness for stamp option. A value of 0 indicates that stamp thickness control is not active.
Examples
Update topology design variable dv1 using node IDs 25 and 100 for the anchor node and first grid respectively and with "prop1" as an obstacle, with a minimum thickness of 0.5 and stamp thickness of 1.1:
*createdoublearray 6 0 0 0 0 0 0
*createmark props 1 "prop1"
*topologydrawupdatewithnoholeandstamp "dv1" 1 25 100 1 6 1 0.5 1.1
Update topology design variable dv1 using coordinates for anchor node and ID 150 for the first grid, with "prop1" as an obstacle, with a minimum thickness of 0.5 and stamp thickness of 1.1:
*createdoublearray 6 1.5 2.6 4.9 0 0 0
*createmark props 1 "prop1"
*topologydrawupdatewithnoholeandstamp "dv1" 1 0 150 1 6 1 0.5 1.1
Same as above, but with no obstacle:
*createdoublearray 6 1.5 2.6 4.9 0 0 0
*topologydrawupdatewithnoholeandstamp "dv1" 1 0 150 1 6 0 0.5 1.1
Errors
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
11.0