A3DPkPartsTranslateToA3DAsmModelFile
-
A3DStatus
A3DPkPartsTranslateToA3DAsmModelFile(int pNbPkParts, int *pPkParts, A3DRWParamsLoadData *pLoadParam, A3DAsmModelFile **ppA3DAsmModelFile, A3DMiscPKMapper **pMapper) A3DStatusA3DPkPartsTranslateToA3DAsmModelFile(int pNbPkParts, int pPkParts,A3DRWParamsLoadData* pLoadParam,A3DAsmModelFile** ppA3DAsmModelFile,A3DMiscPKMapper** pMapper)Translate Parasolid Parts from parasolid session into an A3DModelFile with a mapper.
This function creates an
A3DAsmModelFileentity from parts of parasolid session and creates a mapper to get links between entities.Return Values
A3D_INITIALIZE_NOT_CALLED:
A3D_INVALID_DATA_STRUCT_NULL:
A3D_INVALID_DATA_STRUCT_SIZE:
A3D_INVALID_ENTITY_NULL:
A3D_LOAD_CANNOT_ACCESS_CADFILE:
A3D_LOAD_READER_NOT_IMPLEMENTED:
A3D_LOAD_CANNOT_LOAD_MODEL:
A3D_LOAD_CANNOT_LOAD_MULTIENTRY:
A3D_LOAD_EMPTY_MULTI_MODEL:
A3D_LOAD_MISSING_COMPONENTS:
A3D_LOAD_MULTI_MODELS_CADFILE: if the file contains multiple entries (see
A3DRWParamsMultiEntriesData).A3D_LOAD_INVALID_FILE_FORMAT:
A3D_HEPB_MISSING:
A3D_INVALID_DATA_NULL:
A3D_SUCCESS:
10.2
Parameters
pNbPkParts: References the number of parts.
pPkParts: References the array of parts.
pLoadParam: Load parameters.
ppA3DAsmModelFile: References the
A3DAsmModelFileto be created.pMapper: Topology entities mapper
Returns
A3D_SUCCESSon success, or an error code on failure