*AE_UpdateLink

Updates the link for selected attachment entities.

Syntax

*AE_UpdateLink mark_id uid ?pid?

Type

HyperMesh Tcl Modify Command

Description

Updates the link for selected attachments using a new part.

Inputs

mark_id
The ID of the mark containing the attachments. Valid values are 1 and 2.
uid
The unique ID of the new part.
pid
The ID of the new part. Required when the part is an instance.

Examples

To update the link of attachments 101, 102, 103 using a part with UID "frame_1":

*createmark attachments 1 101 102 103
        *AE_UpdateLink 1 "frame_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

2021.2