API 文件集 > Miscellaneous > Object ProEcad > Function ProEcadImport
Function ProEcadImport
Description
Import an EDMD design to specified type
Synopsis
#include <ProEcadUtils.h>
ProEcadImport
(
ProPath filename
/* (In)
Name of the file to be imported.
*/
/* (In)
Import options.
*/
ProTKEcadType ecad_type
/* (In)
The type of the imported file. EDMD (*.idx) and IDF (*.emn) file formats are supported.
*/
ProMdl* r_new_model
/* (Out)
The new assembly that Creo Parametric created.
*/
)
Returns
Import finished successfully.
The file name is NULL or extension of file name is invalid
The directory of file name is invalid
The file is empty.
ecad_type is not supported.
Used in collaboration mode.
One of the inputs has bad value which is not of the above errors.
Import succeeded with errors or warnings.
Import failed for any other reason.
這是否有幫助?