hm_getoption - CAD Writer

Returns the value of the CAD writer options.

Syntax

hm_getoption cad_writer=<format> option

Type

HyperMesh Tcl Query Command

Description

Returns the value of the CAD writer options.

Inputs

cad_writer=<format>
The format of the CAD writer. Valid formats are iges, inspire, jt, parasolid, and step.
option
The name of the option. Valid options for each format can be referred from the “cadiooptionname” attributes of the respective <format>.xml files in <altair_home>/hm/scripts/ImportExport/xml/geometry/export.

Example

To query the IGES CAD writer option Export:

hm_getoption cad_writer=iges Export

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

2022.1