*setoption - CAD Writer
Sets various CAD writer option values.
Syntax
*setoption cad_writer=<value> <option>=<value>
Type
HyperMesh Tcl Modify Command
Description
Sets various CAD writer option values.
Inputs
- cad_writer=<value>
- The format of the CAD writer. Valid formats are iges, inspire, jt, Parasolid, and step.
- <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/export.
Examples
To set the Export option to All for the IGES
writer:
*setoption cad_writer=iges Export=All
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