Documentation de l'API > Miscellaneous > Object ProImportfeature > Function ProImportfeatureWithProfileCreate
Function ProImportfeatureWithProfileCreate
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.
Synopsis
#include <ProImportfeat.h>
ProImportfeatureWithProfileCreate
(
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
*/
ProImportfeatAttr* p_attributes
/* (In)
The attributes for creation of the new import feature. If this pointer is NULL, the function uses the default attributes.
*/
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
Est-ce que cela a été utile ?