hwIH3DExportOptions GetMaxCompressionError

Queries the maximum margin of error allowable during compression.

Syntax

hwIH3DExportOptions_handle GetMaxCompressionError

Application

HyperWorks Tcl Query

Description

Returns a number between zero and one, representing the ratio between the allowable absolute error and the maximum difference between values in the set.

Compression is comprised of two processes: lossy and non-lossy. To produce lossless compression, turn compression on and set the allowable error to zero.

Example

To get the currently allowed error fraction:
hwi GetSessionHandle mySessionName
mySessionName GetH3DExportOptionsHandle option_handle
options_handle GetMaxCompressionError

Error

None.