*geomimport
Imports geometry from various CAD formats.
Syntax
*geomimport translator_type input_file_name ?<name1>=<value1>? ?<name2>=<value2>? ... ?<nameN>=<valueN>?
Type
HyperMesh Tcl Modify
Description
Imports geometry from various CAD formats.
Inputs
- translator_type
- The translator to use for import. Valid values are:
- acis_ct
- auto_detect
- catia_ct
- creo_ct
- dxf_altair
- iges_altair
- inspire_altair
- intergraph_altair
- jt_jtopen
- nx_ct
- nx_ugopen
- parasolid_parasolid
- pdgs_altair
- solidworks_ct
- step_ct
- tribon_altair
- vdafs_altair
- input_file_name
- The name of the file to import.
- <name>=<value>
- The name=value options that define the import 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 Import Options documentation.
Example
To import the CATIA file
C:/temp/Part5.CATPart using various
options:
*geomimport "catia_ct" "C:/temp/Part5.CATPart" "CleanupTol=-0.01" "DoNotMergeEdges=off" "ImportBlanked=off" "ImportFeatureData=off" "ImportPublicationData=off" "ReadCompositeData=off" "ScaleFactor=1.0" "SplitComponentsByBody=off" "SplitComponentsByPart=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