*ossmooth_savesurf

Exports the final design geometry from OptiStruct topology, topography and shape optimization results.

Syntax

*ossmooth_savesurf mode filepath units output

Type

HyperMesh Tcl Modify Command

Description

Exports the final design geometry from OptiStruct topology, topography and shape optimization results.

Inputs

mode
0 - Create .oss file only to be used in standalone version (do not execute OSSmooth)
1 - Do not load geom into HyperMesh
2 - Load geom into HyperMesh.
filepath
The full name and path of the OptiStruct .fem results file generated from the optimization.
units
Units used for IGES and STEP output. Valid values are:
  • 1 - inch
  • 2 - mm
  • 4 - foot
  • 6 - meter
  • 10 - cm
output
1 -Nastran
2 - IGES
3 - STL
4 - H3D
5 - STEP
6 - PARASOLID
7 - IGES (advanced)

Example

To execute OSSmooth to save surfaces to STEP file C:/test/os1.step, using mm as units:

*ossmooth_savesurf 2 C:/test/os1.fem 2 5

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

12.0