hm_getsketchdata

Queries the information about the entities present in the sketch.

Syntax

hm_getsketchdata <select_type>=<selection> entity_type=<value> sketchdata=<value>

Type

HyperMesh Tcl Query Command

Description

Queries the information about the entities present in the sketch data.

Inputs

<select_type>=<selection>
The entity or entities that are to be queried. There are several ways to provide the entities to be queried. Only one option can be used at a time:
id=<sketch_id>
The ID of the sketch entity.
name=<sketch_name>
The name of the sketch entity.
entity_type=<value>
The type of queried entity present in the sketch.
sketchdata=<value>
The queried sketch entity data name.

Example

To query list of point IDs from sketch ID 1:
hm_getsketchdata id=1 entity_type=point sketchdata=entity_list

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