*setoption - CAD Reader

Sets various CAD reader option values.

Syntax

*setoption cad_reader=<value> <option>=<value>

Type

HyperMesh Tcl Modify Command

Description

Sets various CAD reader option values.

Inputs

cad_reader=<value>
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>=<value>
The name of the option and the corresponding value to assign. 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.

Examples

To set the CreationType option to Parts for the ACIS reader:
*setoption cad_reader=acis CreationType=Parts
To set the TargetUnits option to MKS (m kg N s) for the ACIS reader:
*setoption cad_reader=acis TargetUnits={MKS (m kg N s)}

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