# A3DRWParamsGeneralData

struct `A3DRWParamsGeneralData`

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

  While the options below are common among all CAD formats, some of them may be irrelevant to a specific format.

  All the `m_bRead*`fields are boolean options defaulted to `A3D_FALSE`, which means the related entity is skipped upon reading.

  > Loading a model

  > PRC basics

  > Reading views and PMIs

  > Traversing feature trees

  ## Index

  Variables

  - `m_bReadSolids`
  - `m_bReadSurfaces`
  - `m_bReadWireframes`
  - `m_bReadPmis`
  - `m_bReadAttributes`
  - `m_bReadHiddenObjects`
  - `m_bReadConstructionAndReferences`
  - `m_bReadActiveFilter`
  - `m_eReadingMode2D3D`
  - `m_eReadGeomTessMode`
  - `m_eDefaultUnit`
  - `m_bReadFeature`
  - `m_bReadConstraints`
  - `m_uiSearchTextureDirectoriesSize`
  - `m_ppcSearchTextureDirectories`
  - `m_uiSearchMaterialLibraryFilesSize`
  - `m_ppcSearchMaterialLibraryFiles`
  - `m_bTreatLongWireframeAsConstructionAndReferences`
  - `m_dLongWireframeThreshold`

Variables

A3DBool `A3DRWParamsGeneralData.``m_bReadSolids`
  `A3DBool`

  Allows reading of solid parts.

A3DBool `A3DRWParamsGeneralData.``m_bReadSurfaces`
  `A3DBool`

  Allows reading of surface entities.

A3DBool `A3DRWParamsGeneralData.``m_bReadWireframes`
  `A3DBool`

  Allows reading of wireframe entities.

A3DBool `A3DRWParamsGeneralData.``m_bReadPmis`
  `A3DBool`

  Allows reading of PMIs.

A3DBool `A3DRWParamsGeneralData.``m_bReadAttributes`
  `A3DBool`

  Allows reading of non-geometric information linked to entities and files.

  Attributes linked to solids and entities, such as material and density, are always read, even if `m_bReadAttributes`is `A3D_FALSE`.

A3DBool `A3DRWParamsGeneralData.``m_bReadHiddenObjects`
  `A3DBool`

  Allows reading of representation items which are marked as hidden in the CAD file.

  Default is `A3D_TRUE`. When set to `A3D_FALSE`, representation items considered hidden in the CAD file won’t be kept in the resulting PRC. This can be useful when the objective is to observe the visible appearance of the resulting PRC. This option only impacts representation items. Reading of assembly-level entities (parts and product occurrences) is not affected, whether the CAD file identifies them as hidden or not.

  > Setting `m_bReadHiddenObjects`to `A3D_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`
  `A3DBool`

  Allows reading of construction entities, such as planes and axes.

A3DBool `A3DRWParamsGeneralData.``m_bReadActiveFilter`
  `A3DBool`

  Allows reading of only data stored in the active filter or on layers corresponding to the active filter.

A3DEReadingMode2D3D `A3DRWParamsGeneralData.``m_eReadingMode2D3D`
  `A3DEReadingMode2D3D`

  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`
  `A3DEReadGeomTessMode`

  Select between reading geometry, tessellation or both.

A3DEUnits `A3DRWParamsGeneralData.``m_eDefaultUnit`
  `A3DEUnits`

  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`
  `A3DBool`

  Allows reading of model feature tree.

A3DBool `A3DRWParamsGeneralData.``m_bReadConstraints`
  `A3DBool`

  Allows reading of assembly constraints.

A3DUns32 `A3DRWParamsGeneralData.``m_uiSearchTextureDirectoriesSize`
  `A3DUns32`

  The size of `m_ppcSearchTextureDirectories`array.

A3DUTF8Char **`A3DRWParamsGeneralData.``m_ppcSearchTextureDirectories`
  `A3DUTF8Char`**

  Additional search directories for texture files.

A3DUns32 `A3DRWParamsGeneralData.``m_uiSearchMaterialLibraryFilesSize`
  `A3DUns32`

  The size of `m_ppcSearchMaterialLibraryFiles`array.

A3DUTF8Char **`A3DRWParamsGeneralData.``m_ppcSearchMaterialLibraryFiles`
  `A3DUTF8Char`**

  Additional material library files.

A3DBool `A3DRWParamsGeneralData.``m_bTreatLongWireframeAsConstructionAndReferences`
  `A3DBool`

  Remove long wireframe when `m_bReadConstructionAndReferences`is set to `A3D_FALSE`.

  Threshold value to determine long wireframe is set via `m_dLongWireframeThreshold`. This option applies when `m_bReadWireframes`is set to `A3D_TRUE`. When `m_bReadWireframes`is set to `A3D_FALSE`, all wireframes are removed, no matter the value of m_dLongWireframeThreshold.

A3DDouble `A3DRWParamsGeneralData.``m_dLongWireframeThreshold`
  `A3DDouble`

  Defines the threshold for long wireframe.

  Any wireframe with a bounding box longer than this value will be removed if `m_bTreatLongWireframeAsConstructionAndReferences`is `A3D_TRUE`, and m_bReadConstructionAndReferences is `A3D_FALSE`. Default is 24690.0.

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your multilingual generative AI assistant for documentation. Ask me anything about HOOPS Exchange in your own language, or choose a sample question below to start a conversation:

What is HOOPS Exchange?
What are the latest release notes for HOOPS Exchange?
How do I start evaluating HOOPS Exchange?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...