Module to get and compute information on modelfile. More...

Modules

 BillOfMaterial Module
 (HOOPS Publish Advanced) Module to calculate a BOM on a modelfile.
 
 ModelFile Nodes Module
 (HOOPS Publish Advanced) Module to get list of nodes from a modelfile.
 

Data Structures

struct  A3DPDFSnapshotOptionsData
 A3DPDFSnapshotOptionsData structure: options for the snapshot (poster) generation. More...
 

Enumerations

enum  A3DPDFEModelFileNodeType {
  kA3DPDFNodeProductOccurrence = 0,
  kA3DPDFNodeRepresentationItem = 1,
  kA3DPDFNodePMI = 2,
  kA3DPDFNodeRiSet = 3,
  kA3DPDFNodeCamera = 4,
  kA3DPDFNodeLight = 5
}
 ModelFileNode type: type of node in a modelfile. More...
 

Functions

A3DStatus A3DPDFMakeSnapshotFromModelFile (A3DAsmModelFile *pModelFile, const A3DPDFSnapshotOptionsData *pSnapshotOptionsData, const A3DUTF8Char *pcOutputFilename)
 Function to create the poster for a view in a model file. More...
 

Detailed Description

Module to get and compute information on modelfile.

This module describes the functions and structures that allow you to to get and compute information on a modelfile.

Enumeration Type Documentation

◆ A3DPDFEModelFileNodeType

ModelFileNode type: type of node in a modelfile.

Version
10.0
Enumerator
kA3DPDFNodeProductOccurrence 

node for a Product occurence.

kA3DPDFNodeRepresentationItem 

node for a mesh (node object that contains geometry).

kA3DPDFNodePMI 

node for a PMI. Stored in the PDF model tree under a '3D PMI' node.

kA3DPDFNodeRiSet 

node for a mesh set. Does not contain any geometry but has children who do.

kA3DPDFNodeCamera 

node for a camera.

kA3DPDFNodeLight 

node for a light.

Function Documentation

◆ A3DPDFMakeSnapshotFromModelFile()

A3DStatus A3DPDFMakeSnapshotFromModelFile ( A3DAsmModelFile pModelFile,
const A3DPDFSnapshotOptionsData pSnapshotOptionsData,
const A3DUTF8Char pcOutputFilename 
)

Function to create the poster for a view in a model file.

Important: HOOPS Publish uses the graphics driver of the user's PC. By default, HOOPS Publish attempts to select the graphics driver in this order: DX11->DX9->OpenGL2->OpenGL. To override the default driver selection, set the A3DPOSTERDRV environment variable to one of the following values:

  • DX11
  • DX9
  • OGL2
  • OGL1
Parameters
[in]pModelFileThe modelfile where is defined the 3D data.
[in]pSnapshotOptionsDataThe snapshot parameters.
[in]pcOutputFilenamePath to the file name to generate.
Returns
A3D_SUCCESS in case of success or an error code
Return values
A3D_SUCCESS
Version
4.1