*ME_ModuleOccurrenceDelete

Deletes a part or part assembly, including any recursive contents.

Syntax

*ME_ModuleOccurrenceDelete id ?reserved?

Type

HyperMesh Tcl Modify Command

Description

Deletes a part or part assembly, including any recursive contents.

Inputs

id
The ID of the part or part assembly to delete. The module must be an occurrence.
reserved
Reserved for future use. Must be set as "".

Example

Delete part ID 168 and all its recursive contents:

*ME_ModuleOccurrenceDelete 168

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

14.0