*filewritecomponentgeometry
This command allows you to export HyperMesh files on a per-component basis, so that you can export HyperMesh geometry that is part of a larger assembly without exporting the entire assembly.
Syntax
*filewritecomponentgeometry filename component compression
Type
HyperMesh Tcl Modify Command
Description
This command allows you to export HyperMesh files on a per-component basis, so you can export HyperMesh geometry that is part of a larger assembly without exporting the entire assembly.
Inputs
- filename
- The file name to create, including the extension. Example: bumper.hm.
- component
- The component name to be exported.
- compression
- Flag to save the file in compressed form or not, excluding optional specific
information such as facets or plot coordinates. Compressed files are smaller, but
require more processing time to recalculate when loaded.
- 0 - Save as uncompressed file (including all optional data).
- 1 - Save as compressed file (excluding optional data).
Example
To save the bumper component to a compressed file named
bumper1.hm:
*filewritecomponentgeometry bumper1.hm bumper 1