Function Pro2dImportAppend
Description
Imports a 2d geometry file into an existing 2d Creo Parametric model.
Replacement in Object TOOLKIT:
Synopsis
#include <ProUtil.h>
Pro2dImportAppend
(
/* (In)
The type of file to be imported. The following values are supported: PRO_STEP_FILE PRO_IGES_FILE PRO_DXF_FILE PRO_DWG_FILE PRO_CGM_FILE PRO_MEDUSA_FILE PRO_CCD_DRAWING_FILE
*/
ProPath filename
/* (In)
The name (absolute path or relative path ) of the file to be imported.
*/
ProMdl model
/* (In)
The model into which to append the data.
*/
ProBoolean scale_to_fit
/* (In)
If the current model has a different sheet size from that specified by the imported file, scale_to_fit should be TRUE to retain the current sheet size, or FALSE to adopt the new one .
*/
ProBoolean fit_left_corner
/* (In)
If the imported file retain his original sheet size, the bottom left corner of the file will be adjusted to bottom left corner of the current model for PRO_B_TRUE, and imported "as is" for PRO_B_FALSE.
*/
)
Returns
Imported file appended successfuly to the current model.
Illegal model type or import file type.
The input file could not be found, or contained unrecoverable errors.
There is no license for this import option. PRO_TK_OBSOLETE_FUNC- The file format selected is no longer supported on this platform.
User Guide References
これは役に立ちましたか?