A3DRWParamsGeneralData Struct Reference

Reading options to filter the types of information that are read when CAD files are loaded. More...

Data Fields

A3DBool m_bReadActiveFilter
 
A3DBool m_bReadAttributes
 
A3DBool m_bReadConstructionAndReferences
 
A3DBool m_bReadFeature
 
A3DBool m_bReadHiddenObjects
 
A3DBool m_bReadPmis
 
A3DBool m_bReadSolids
 
A3DBool m_bReadSurfaces
 
A3DBool m_bReadWireframes
 
A3DEUnits m_eDefaultUnit
 
A3DEReadGeomTessMode m_eReadGeomTessMode
 
A3DEReadingMode2D3D m_eReadingMode2D3D
 
A3DInt32 m_iNbMultiProcess
 
A3DUTF8Char ** m_ppcSearchTextureDirectories
 
A3DUns32 m_uiSearchTextureDirectoriesSize
 
A3DUns16 m_usStructSize
 

Detailed Description

Reading options to filter the types of information that are read when CAD files are loaded.

These options are common to a lot of CAD formats, but not all options are valid with all CAD formats. Filtering options (reading of wireframe, surfaces, solid entities, PMI...) behave like this: if the value is FALSE, the corresponding entities are ignored during reading.

Version
3.0

Field Documentation

A3DUns16 A3DRWParamsGeneralData::m_usStructSize

Reserved; must be initialized by A3D_INITIALIZE_DATA.

A3DBool A3DRWParamsGeneralData::m_bReadSolids

Filtering option to read solid parts.

A3DBool A3DRWParamsGeneralData::m_bReadSurfaces

Filtering option to read surfaces of parts as entities.

A3DBool A3DRWParamsGeneralData::m_bReadWireframes

Filtering option to read all wireframe entities in the CAD file.

A3DBool A3DRWParamsGeneralData::m_bReadPmis

Filtering option to read PMI markups and notes.

A3DBool A3DRWParamsGeneralData::m_bReadAttributes

Filtering option to read non-geometric information linked to entities and files. Note: Attributes linked to solids and entities, such as Material and Density, are always read, even if m_bReadAttributes is FALSE.

A3DBool A3DRWParamsGeneralData::m_bReadHiddenObjects

Filtering option to read any objects that are present but currently hidden in the CAD file. This setting primarily impacts parts, and is primarily used to improve performance on large assemblies. It is most effective for simple assemblies (without complex Views or PMIs) or when the objective is to observe the visible appearance of the resulting PRC.

By default m_bReadHiddenObjects is set to true. Setting m_bReadHiddenObjects to false when reading PMIs, Views or complex assemblies may lead to unexpected behavior due to the potential for removal of bodies referenced by residual PMI or Views.

A3DBool A3DRWParamsGeneralData::m_bReadConstructionAndReferences

Filtering option to read construction entities, such as planes and axes.

A3DBool A3DRWParamsGeneralData::m_bReadActiveFilter

Filtering option to read only data stored in the active filter or on layers corresponding to the active filter.

A3DEReadingMode2D3D A3DRWParamsGeneralData::m_eReadingMode2D3D

If applicable, choose whether reading 2D drawing, 3D model or both. For IGES format, kA3DRead_Both is not available and will default to kA3DRead_3D.

A3DEReadGeomTessMode A3DRWParamsGeneralData::m_eReadGeomTessMode

Enum to set the content to read (Geometry and/or Tessellation).

A3DEUnits A3DRWParamsGeneralData::m_eDefaultUnit

DefaultUnit option restricted to those formats where unit never exists or is unreliable (U3D, CGR, STL, VRML)

  • If it is different than kA3DUnitUnknown, the default unit used is the one defined with this enum
  • If it is set to kA3DUnitUnknown, the default unit is considered unknown and the value is 1.0.
A3DBool A3DRWParamsGeneralData::m_bReadFeature

Filtering option to read model feature tree.

Version
10.2
A3DInt32 A3DRWParamsGeneralData::m_iNbMultiProcess

Use multi-process mode. Due to its limitations, this functionality will be deprecated in next release (HE 2020).

Version
10.0. References the number of processes on which to run. It's disabled if it's set to 0 or 1
A3DUns32 A3DRWParamsGeneralData::m_uiSearchTextureDirectoriesSize

Size of next array.

Version
8.0.
A3DUTF8Char** A3DRWParamsGeneralData::m_ppcSearchTextureDirectories

Array of additional directories that the load function will search in addition to the texture file.

Version
8.0.