User's Guide > Interface: Importing Features > Redefining the Import Feature
Redefining the Import Feature
Use the following functions in sequence to redefine the import feature.
Functions Introduced:
ProImportfeatRedefSourceInit()
ProImportfeatRedefine()
Use the function ProImportfeatRedefSourceInit() to initialize the redefine source. Currently Creo TOOLKIT users may
Redefine the attributes of any import feature.
Note:
 
When redefining the attributes of the import feature, will not use the value of the attribute join_surfaces, because this attribute is valid only for import feature creation.
Redefine the geometry of an import feature created from a geometric file. Import features created from memory may not be redefined.
The input arguments are:
operation—Specifies the type of operation to use when redefining the import feature.
p_source—Specifies the handle to the new interface data or the new attributes structure.
The function ProImportfeatRedefSourceInit() returns the handle to a structure, that is passed as an input argument to the function ProImportfeatRedefine().
Use the function ProImportfeatRedefine() to redefine the import feature. The input arguments are:
p_feat_handle—Specifies the handle for the import feature to be redefined.
p_source—The handle to be used for redefinition from the function ProImportfeatRedefSourceInit().
Note:
 
ProImportfeatRedefine() does not support ATB-enabled features. It returns PRO_TK_BAD_CONTEXT while accessing such features.
这对您有帮助吗?