Documentación de la API > Features > Object ProFeature > Function ProFeatureWithoptionsRedefine
Function ProFeatureWithoptionsRedefine
Description
Redefines the feature from the element tree.
Replacement in Object TOOLKIT:
Synopsis
#include <ProFeature.h>
ProFeatureWithoptionsRedefine
(
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)
A ProArray of user options.
*/
int flags
/* (In)
The regeneration control flags. Pass as bitmask containing one or more of the bit flags PRO_REGEN defined in ProSolid.h
*/
ProErrorlist* p_errors
/* (Out)
The list of errors.
*/
)
Returns
The function successfully redefined the feature.
One or more of the input arguments are invalid.
If redefining embedded component feature in different owner asm or sub-asm.
Sample Code References
User Guide References
¿Fue esto útil?