API 文件集 > Features > Object ProFeature > Function ProFeatureRedefine
Function ProFeatureRedefine
DEPRECATED:
Since Wildfire 5.0
Description
Redefines the feature from the element tree.
NOTE:
This function is deprecated. Use ProFeatureWithoptionsRedefine() with flags equal to PRO_REGEN_NO_FLAGS for equivalent behavior.
Synopsis
#include <ProFeature.h>
ProFeatureRedefine
(
ProAsmcomppath* comp_path
/* (In)
The path to the part to which the feature belongs. This can be NULL when you are redefining in Part mode, or when the feature belongs to the top-level assembly.
*/
ProFeature* feature
/* (In)
The feature.
*/
ProElement elemtree
/* (In)
The element tree.
*/
/* (In)
An array of user options.
*/
int num_opts
/* (In)
The number of options.
*/
ProErrorlist* p_errors
/* (Out)
The list of errors.
*/
)
Returns
The function successfully redefined the feature.
Model is in read-only state.
One or more of the input arguments are invalid.
See Also
Sample Code References
User Guide References
這是否有幫助?