hm_getsurfacesfromsolid

Returns the list of surface IDs associated with a specified solid ID.

Syntax

hm_getsurfacesfromsolid id ?type?

Type

HyperMesh Tcl Query

Description

Returns the list of surface IDs associated with a specified solid ID.

Inputs

id
The ID of the solid to query.
?type?
An optional string to specify which surfaces are returned. Valid values are bounding, partition, fin and all (default).

Example

To get a list of surfaces associated with solid of ID 1:

hm_getsurfacesfromsolid 1

This command returns information necessary for running other commands related to surface and solid creation.

Errors

None.

Version History

2017.1 - Added new optional argument type to filter the found and returned surfaces.