Export monolithic HTML Module

(HOOPS Publish Advanced) Structure and function to write a ModelFile as a monolithic HTML file. More...

Data Structures

struct  A3DRwHtmlMetaTag
 Describes an html 'meta' element. More...
 
struct  A3DRWHtmlOfflineData
 Describes an HTML export in offiline mode. More...
 
struct  A3DRWParamsExportHtmlData
 A structure that specifies parameters used to write a model file to HTML format. More...
 

Functions

A3DStatus A3DAsmModelFileExportToHTMLFile (A3DAsmModelFile *pA3DAsmModelFile, const A3DRWParamsExportHtmlData *pParamsExportData, const A3DUTF8Char *pcHtmlFileName)
 Writes a model file to a physical file in HTML format. More...
 

Detailed Description

(HOOPS Publish Advanced) Structure and function to write a ModelFile as a monolithic HTML file.

This file embeds all javascript and css definitions useful to render the 3D. The 3D definition (as a SCS cache file) is also embedded in the HTML file (see Export SCS Module).

Function Documentation

◆ A3DAsmModelFileExportToHTMLFile()

A3DStatus A3DAsmModelFileExportToHTMLFile ( A3DAsmModelFile pA3DAsmModelFile,
const A3DRWParamsExportHtmlData pParamsExportData,
const A3DUTF8Char pcHtmlFileName 
)

Writes a model file to a physical file in HTML format.

This function writes the A3DAsmModelFile entity to an HTML file.

Parameters
[in]pA3DAsmModelFileReferences The A3DAsmModelFile to be exported
[in]pParamsExportDataReferences the parameters for export.
[in]pcHtmlFileNameReferences the path of the file into which the function stores the model file.
Returns
A3D_SUCCESS in case of success or an error code
Return values
A3D_INITIALIZE_NOT_CALLED
A3D_WRITE_CANNOT_LOAD_WRITERif libprc2sc dll cannot be loaded
A3D_WRITE_HTMLCONVERSION_FAILEDif conversion execution failed
A3D_NOT_AVAILABLEif called on unsupported platform
A3D_SUCCESS
Version
10.1