A3DRWParamsAssemblyData

struct A3DRWParamsAssemblyData

Defines parameters to manage CAD assemblies reading.

This is valid only for CAD formats handling assemblies. These options identify the locations that the load function searches to load subassemblies and parts for the assembly document.

m_ppcPathDefinitionsis an array of string, each being of the form:"PATH",[recursive=](0|1). For example:

A3DUTF8Char**path_defs={
"\"c:\\data\\project\\\",recursive=1",//"c:\data\project\",recursive=1
"\"f:\\parts\",recursive=0",//"f:\parts",recursive=0
"\"d:\\special\",1",//"d:\special",1
"\"x:\\standard-data\\production\",0",//"x:\standard-data\production",0
};

Variables

A3DBool A3DRWParamsAssemblyData.m_bUseRootDirectory

With a value of``A3D_TRUE``, the load function searches subparts in the same directory as the head of the assembly.

If not found, they are searched for in the additional search directories (m_ppcSearchDirectories).

A3DBool A3DRWParamsAssemblyData.m_bRootDirRecursive

Only used if:c:member:m_bUseRootDirectory <A3DRWParamsAssemblyData.m_bUseRootDirectory>is``A3D_TRUE``.

With a value of``A3D_TRUE``, the load function searches for all subparts of an assembly in the root directory of the assembly file. Then, it searches the subdirectories for any files that it did not find in the root directory.

A3DUns32 A3DRWParamsAssemblyData.m_uiSearchDirectoriesSize

The Size of:c:member:m_ppcSearchDirectories <A3DRWParamsAssemblyData.m_ppcSearchDirectories>.

A3DRWParamsSearchDirData **A3DRWParamsAssemblyData.m_ppcSearchDirectories

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

A3DUns32 A3DRWParamsAssemblyData.m_uiPathDefinitionsSize

The Size of:c:member:m_ppcPathDefinitions <A3DRWParamsAssemblyData.m_ppcPathDefinitions>.

A3DUTF8Char **A3DRWParamsAssemblyData.m_ppcPathDefinitions

Array to specify the location of text files that define additional paths.

Each item is in the format``”PATH”,[recursive=](0|1)``.