hm_getsketchdata

Queries the information about the entities present in the sketch.

Syntax

hm_getsketchdata <select_type>=<selection> entitytype=<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.
entitytype=<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 entitytype=point sketchdata=entitylist

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