*attributedelete

Syntax

*attributedelete entity_type entity_id attribute_name_or_id solver

Type

HyperMesh Tcl Modify

Description

Deletes at attribute from an entity.

Inputs

entity_type
The type of entity to delete the attribute for.
entity_id
The ID of the entity to delete the attribute for.
attribute_name_or_id
The name or ID of the attribute to delete.
solver
The solver number of the attribute.

Example

To delete the PSHELL_T attribute from property 100 for OptiStruct/Nastran template:

*attributedelete props 100 95 1
or
*attributedelete props 100 PSHELL_T 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

14.0.130