poIPost ExportH3D

Exports an H3D format file.

Syntax

poIPost_handle ExportH3D filename 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:
  • allmodels (default: false)
  • entityattrs (default: true)
  • exportvisible (default: true)
  • animation (default: true)
  • entitysets (default: true)
  • results (default: true)
  • viewattrs (default: true)
  • html (default: true)
  • preview (default: true)
  • adapt (default: false)
  • erosion (default: false)
  • compress (default: false) float
  • prevheight (default: 0) int >=0
  • prevwidth (default: 0) int >=0
  • prevscalefactor (default: 0) float
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 noentitysets"

Errors

Returns 0 if successful, otherwise an error code.