hwIH3DExportOptions GetCompressionLevel

Gets the level of non-lossy compression.

Syntax

hwIH3DExportOptions_handle GetCompressionLevel

Application

HyperWorks Tcl Query

Description

Returns a number between 0 and 9. A value of 0 indicates no compression. A value of 9 indicates maximum compression.

This command covers only non-lossy compression. The default value for the level is 7, which gives a good balance between speed and size-reduction. The better the compression, the slower the file may be to write.

Example

To find out the current compression level:
hwi GetSessionHandle mySessionName
mySessionName GetH3DExportOptionsHandle option_handle
option_handle GetCompressionLevel

Errors

None.