*AE_AttachmentControlCreateFromDefault

Creates an attachment control that can be used for attachment realizations and saved to the binary file.

Syntax

*AE_AttachmentControlCreateFromDefault name default reserved

Type

HyperMesh Tcl Modify Command

Description

Creates an attachment control that can be used for attachment realizations and saved to the binary file.

Must be called after *AE_AttachmentControlDefaultCreate.

Inputs

name
The name of the new attachment control.
default
The internal control default to derive from:
rigidpatch
rigidspiler
reserved
Reserved for future use. Must be set to 1.

Examples

Create an attachment control named "myattachmentcontrol", derived from the rigid spider default:

*AE_AttachmentControlDefaultCreate "" 1
*AE_AttachmentControlCreateFromDefault "myattachmentcontrol" "rigidspider" 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

2020