hm_getareaofsurface

Returns the area of a surface.

Syntax

hm_getareaofsurface entity_type entity_id

Type

HyperMesh Tcl Query

Description

Returns the area of a surface.

Inputs

entity_type
The type of entity to query. Only surfaces are valid.
entity_id
The ID of the entity to query.

Example

To get the area for surface 100:

hm_getareaofsurface surfs 100

Errors

Incorrect usage results in a Tcl error. To detect errors, you can use the catch command:
if { [ catch {command_name...} ] } {
   # Handle error
}