hm_getoption - CAD Reader
Returns the value of the CAD reader options.
Syntax
hm_getoption cad_reader=<format> option
Type
HyperMesh Tcl Query Command
Description
Returns the value of the CAD reader options.
Inputs
- cad_reader=<format>
- The format of the CAD reader. Valid formats are acis, aveva, catia, catiav6, creo, dxf, iges, inspire, Intergraph, inventor, jt, nx_ct, nx_native, ocx, parasolid, pdgs, rhino, solidworks, step and vdafs.
- 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/import.
Example
To query the ACIS CAD reader option
CreationType:
hm_getoption cad_reader=acis CreationType
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