hwIH3DExportOptions SetWriteAnimation
Sets whether animation data is exported with the model.
Syntax
hwIH3DExportOptions_handle SetWriteAnimation flag
Application
Tcl Modify
Description
If animation data is not written out with the file, the output can only be used as a model file. However, the file will be much smaller in most cases without the additional data.
This command is related to the H3D option on the Publish Session dialog.
Inputs
- flag
- True or false.
Example
To disable the writing of
animation:
hwi GetSessionHandle mySessionName
mySessionName GetH3DExportOptionsHandle option_handle
option_handle SetWriteAnimation false
Errors
None.