poIPost ExportH3D

Exports an H3D format file.

Syntax

poIPost_handle ExportH3Dfilename options

Application

HyperView Tcl Modify

Description

This command exports an H3D format file.

Inputs

filename
The complete path of the H3D file to be written.
options (Optional)
The options available when exporting an H3D file. Preface the option with "no" to toggle the default.
Options include:
  • animation (default: true)
  • entityattrs (default: true)
  • exportvisible (default: true)
  • viewattrs (default: true)
  • results (default: true)
  • preview (default: true)
  • html (default: true)
  • compress (default: false)
  • allmodels (default: false)
Note: All options must be specified in quotes ("").

Example

To write an H3D file:
hwi GetSessionHandle mySessionName
mySessionName GetProjectHandle myProjectName
set pageIndex [myProjectName GetActivePage]
myProjectName GetPageHandle myPageName $pageIndex
set windowIndex [myPageName GetActiveWindow] 	
myPageName GetWindowHandle myWindowName $windowIndex	
myWindowName GetClientHandle myPostName
myPostName ExportH3D C:/temp/temp.h3d "nohtml compress 0.0002"

Errors

Returns 0 if successful, otherwise an error code.