Function ProImportfeatWithProfileCreate
DEPRECATED:
Since Creo 7.0.0.0
Description
Creates a new import feature in the solid using profile.
Note: Once a profile is set, it remains valid for the entire session unless it is reset with another profile.
Replacement in Object TOOLKIT:
Synopsis
#include <ProImportfeat.h>
ProImportfeatWithProfileCreate
(
ProSolid p_solid
/* (In)
The pointer to the solid (part). Assembly case is not supported.
*/
ProIntfDataSource* data_source
/* (In)
The source of data from which to create the import feature.
*/
ProCsys p_csys
/* (In)
The pointer to a reference coordinate system. If this is NULL, the function uses the default coordinate system.
*/
ProPath profile
/* (In)
Profile path. Can be NULL, in which case it works identically with ProImportfeatCreate
*/
ProBoolean cut_or_add
/* (In)
Set to PRO_B_TRUE for imported geometry representing a cut or PRO_B_FALSE otherwise.
*/
ProFeature* p_feat_handle
/* (Out)
The handle to the new import feature. If this is NULL the feature will be created anyway.
*/
)
Returns
The function successfully created the new import feature.
Model is in read-only state.
One or more of the input arguments are invalid.
Creo Parametric does not support import of the indicated file.
No profile found.
profile is not readable.
Missing the required license to perform this import feature operation.
User Guide References
¿Fue esto útil?