*createsketchfrombeamsection

Creates a sketch from shell or solid beamsections.

Syntax

*createsketchfrombeamsection mark=<mark_id> ?assignsketch=<value>? ?computeproperties=<value>? ?offset={<value>}?

Type

HyperMesh Tcl Modify Command

Description

Creates a sketch from shell or solid beamsections.

Inputs

mark=<mark_id>
The ID of the mark of input beamsections. Valid values are 1 and 2.
assignsketch=<value>
After sketch creation, assign the sketch to the beamsection.
0 - Do not assign
1 - Assign (default)
computeproperties=<value>
If assignsketch=1, use the sketch to recompute new beamsection properties.
0 - Do not compute (default)
1 - Compute
offset={<value>}
Offset in local beamsection system to add to the sketch.

Examples

To create a sketch from a beamsection:
*createmark beamsects 1 10
*createsketchfrombeamsection mark=1
To create an offset sketch and recompute properties:
*createmark beamsects 1 all
*createsketchfrombeamsection mark=1 computeproperties=1 offset={1.0 2.0}

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

2022.2