Category 3D interface, Object ProIntfimport

Function ProIntfimportSourceTypeGet


Description
Determines the type of model expected to be created by the import operation.
Replacement in Object TOOLKIT: pfcBaseSession::GetImportSourceType
Synopsis
#include <ProIntfimport.h>
ProErrorProIntfimportSourceTypeGet(
ProPath import_file
/* (In)
Full path to file to be imported.
*/
ProIntfImportType type
/* (In)
The type of file to be imported.
*/
ProMdlType* mdl_type
/* (Out)
The type of model that can be created from this import file.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully returned the information
PRO_TK_INVALID_TYPEThis function is not supported for this import type.

Manual References:

  1. Interface: Data Exchange: Importing 3D Models
  2. Interface: Data Exchange: Importing 3D Models
  3. Interface: Data Exchange: Modifying the Imported Layers

Sample Code References:

  1. pt_userguide ( UgInterfaceImport.c )