*geomexport
Exports geometry to various CAD formats.
Syntax
*geomexport translator_type output_file_name ?<name1>=<value1>? ?<name2>=<value2>? ... ?<nameN>=<valueN>?
Type
HyperMesh Tcl Modify Command
Description
Exports geometry to various CAD formats.
Inputs
- translator_type
- The translator to use for export. Valid values are:
- iges_altair
- jt_jtopen
- parasolid_parasolid
- step_ct
- output_file_name
- The name of the file to output.
- <name>=<value>
- The name=value options that define the export behavior. The actual options usable depend on the translator. The allowed options correspond to those supported in the .ini files, in terms of both name and possible values. All options specified in the command line and .ini files are fully synchronized, i.e. every option is available in both the command line and the .ini file. The full list of options and values can be found in the CAD Export Options documentation.
Example
To export the displayed geometry in Parasolid v27.0 format,
to the file C:/temp/sample.x_t, using various
options:
*geomexport "parasolid_parasolid" "C:/temp/sample.x_t" "Version=27.0" "Export=Displayed" "Units=Meters" "GeometryMode=Standard" "TopologyMode=Solid/Shell" "AssemblyMode=Hierarchy" "WriteNameFrom=Component" "OptimizeforCAD=Off"
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
14.0.120